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

Commit fd8fb99

Browse files
committed
Fix deployment pipeline
1 parent f392a4b commit fd8fb99

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ 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+
RUN chown 1001:root /usr/src/app/mix.*
23+
USER 1001
24+
2025
RUN mix deps.get --only prod && \
2126
mix deps.compile --only prod
2227

0 commit comments

Comments
 (0)