add args to Dockerfile

This commit is contained in:
Cassie Tarakajian 2018-08-13 16:40:51 -04:00
parent ba051c2f31
commit 7f9a435a7f

View file

@ -6,6 +6,17 @@ WORKDIR $APP_HOME
EXPOSE 8000 EXPOSE 8000
# EXPOSE 80 # EXPOSE 80
# EXPOSE 443 # 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 FROM base as development
ENV NODE_ENV development ENV NODE_ENV development