docker: add runtime config injection from env

This commit is contained in:
Patrik Oldsberg
2020-06-07 14:36:05 +02:00
parent 650779412c
commit fe2d04ae3b
2 changed files with 34 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@ FROM nginx:mainline
# The safest way to build this image is to use `yarn docker-build`
RUN apt-get update && apt-get -y install jq && rm -rf /var/lib/apt/lists/*
COPY packages/app/dist /usr/share/nginx/html
COPY docker/default.conf.template /etc/nginx/conf.d/default.conf.template
COPY docker/run.sh /usr/local/bin/run.sh