From 3d498f38d1f4bbb6f539cf2edc8c272621af5127 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 1 Dec 2017 11:59:01 +0100 Subject: Add Dockerfile --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6c51af4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +FROM ubuntu + +RUN apt-get update +RUN apt-get install -y curl build-essential apt-transport-https +RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - +RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - +RUN apt-get install -y nodejs yarn + +COPY . /var/www +WORKDIR /var/www + +ENV PORT=80 +EXPOSE 80 + +CMD yarn start -- cgit v1.1