Set ownership and permissions for the application directory in Dockerfile
Some checks failed
/ print-content (push) Failing after 3s
Some checks failed
/ print-content (push) Failing after 3s
This commit is contained in:
parent
6551294e53
commit
25a20d9e3b
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ USER imnyang
|
||||||
# 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/
|
||||||
|
|
||||||
|
RUN chown -R imnyang:imnyang /app
|
||||||
|
RUN chmod -R 755 /app
|
||||||
|
|
||||||
RUN mkdir -p /app/uploads
|
RUN mkdir -p /app/uploads
|
||||||
|
|
||||||
# Rocket: listen on all interfaces inside the container.
|
# Rocket: listen on all interfaces inside the container.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue