From 7f9a435a7f2345aa6767f5149a18e6f74321d98b Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Mon, 13 Aug 2018 16:40:51 -0400 Subject: [PATCH] add args to Dockerfile --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Dockerfile b/Dockerfile index d0082250..73d09545 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,6 +6,17 @@ WORKDIR $APP_HOME EXPOSE 8000 # EXPOSE 80 # EXPOSE 443 +ARG API_URL +ARG S3_BUCKET +ARG AWS_REGION +ARG S3_BUCKET_URL_BASE +ARG FORCE_TO_HTTPS + +ENV API_URL=$API_URL +ENV S3_BUCKET=$S3_BUCKET +ENV AWS_REGION=$AWS_REGION +ENV S3_BUCKET_URL_BASE=$S3_BUCKET_URL_BASE +ENV FORCE_TO_HTTPS=$FORCE_TO_HTTPS FROM base as development ENV NODE_ENV development