From bd29110690e6b0e58ca2bf0a54b689c564a95a9c Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Tue, 30 Jan 2018 16:01:03 +0100 Subject: Compile and build project in Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6c51af4..05c67e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,9 @@ RUN apt-get install -y nodejs yarn COPY . /var/www WORKDIR /var/www +RUN yarn +RUN yarn build + ENV PORT=80 EXPOSE 80 -- cgit v1.1