From 8b02c7c442968320748ba8a5e3824b3dba256166 Mon Sep 17 00:00:00 2001 From: Ricky Ng-Adam Date: Wed, 14 Aug 2024 15:25:16 -0400 Subject: [PATCH] Fixes #315: use ARG and ENV Signed-off-by: Ricky Ng-Adam --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6e96751..cc6771e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/