Use Dockerfile correctly

This commit is contained in:
Jamil Bou Kheir
2020-04-23 22:43:30 -07:00
parent 292522535a
commit 6712c0c7e7

View File

@@ -58,7 +58,7 @@ ENV PORT=4000 \
RUN mkdir /app
WORKDIR /app
COPY --from=builder /app/_build/prod/rel/cf_phx /app/_build/prod/rel/system_engine .
COPY --from=builder /app/_build/prod/rel/cf_phx /app/_build/prod/rel/system_engine ./
RUN chown -R nobody: /app
USER nobody