Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

Commit 7c75902

Browse files
authored
Fix deployment pipeline
1 parent 43cbad0 commit 7c75902

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ RUN mix local.hex --force && \
1717
COPY mix.* /usr/src/app/
1818
# Guardian requires the config files to compile..
1919
COPY config/* /usr/src/app/config/
20+
21+
USER root
22+
23+
RUN find /usr/src/app -type d -exec chmod 777 {} \; && \
24+
find /usr/src/app -type f -exec chmod 666 {} \;
25+
26+
USER 1001
27+
2028
RUN mix deps.get --only prod && \
2129
mix deps.compile --only prod
2230

0 commit comments

Comments
 (0)