add args to Dockerfile
This commit is contained in:
parent
ba051c2f31
commit
7f9a435a7f
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
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
|
||||
|
|
Loading…
Reference in a new issue