From efd49af3106436731e32b0bb9ca0e347844de267 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Sat, 4 Aug 2018 14:23:39 +0200 Subject: Allow setting env in Dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6c51af4..91bff15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit v1.1