diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-01-30 16:01:03 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-01-30 16:01:03 +0100 |
commit | bd29110690e6b0e58ca2bf0a54b689c564a95a9c (patch) | |
tree | 793302565e81a4ffa691e945a0cac7af8c6f078c | |
parent | f8f06f9fad453bd0737d6ecaa7685e787a42d4d9 (diff) |
Compile and build project in Dockerfile
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |