diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-08-04 14:23:39 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-08-04 14:23:39 +0200 |
commit | efd49af3106436731e32b0bb9ca0e347844de267 (patch) | |
tree | 0657cda125bdecd1af67844d206fc161076ad47b | |
parent | a9c832b003daa70ee78cacecc518cebdf4071ca1 (diff) |
Allow setting env in Dockerfile
-rw-r--r-- | Dockerfile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ FROM ubuntu +ARG SCHOOL_LEVEL=havo-vwo RUN apt-get update RUN apt-get install -y curl build-essential apt-transport-https @@ -11,6 +12,7 @@ COPY . /var/www WORKDIR /var/www ENV PORT=80 +ENV SCHOOL_LEVEL=$SCHOOL_LEVEL EXPOSE 80 CMD yarn start |