Skip to content

Commit

Permalink
Fixes #315: use ARG and ENV
Browse files Browse the repository at this point in the history
Signed-off-by: Ricky Ng-Adam <ricky.ng-adam-ext@mcn.gouv.qc.ca>
  • Loading branch information
rngadam committed Aug 15, 2024
1 parent 58dd883 commit 8b02c7c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
FROM bcgovimages/von-image:node-1.12-6

ENV LOG_LEVEL ${LOG_LEVEL:-info}
ENV RUST_LOG ${RUST_LOG:-warning}
ARG LOG_LEVEL=info
ARG RUST_LOG=warning
ENV LOG_LEVEL=$LOG_LEVEL
ENV RUST_LOG=$RUST_LOG

ADD config ./config
ADD server/requirements.txt server/
Expand Down

0 comments on commit 8b02c7c

Please sign in to comment.