This commit is contained in:
parent
51e4edd37a
commit
eee51f6694
1 changed files with 2 additions and 0 deletions
|
|
@ -56,6 +56,8 @@ RUN chown -R imnyang:imnyang /app
|
||||||
# Drop privileges for runtime.
|
# Drop privileges for runtime.
|
||||||
USER imnyang
|
USER imnyang
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy only the compiled binary from the build stage.
|
# Copy only the compiled binary from the build stage.
|
||||||
COPY --from=build /bin/server /app/
|
COPY --from=build /bin/server /app/
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue