aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-01 12:06:22 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-01 12:06:22 +0100
commitf18692872cdc28d29917247ef4f8ef7553a8b023 (patch)
treed67743f5f60a06f8f045e1a8ea552d8a2ee7850c /Dockerfile
parent71aea288b5e54cc68793b6b133b4efb55812699d (diff)
parent3d498f38d1f4bbb6f539cf2edc8c272621af5127 (diff)
Merge branch 'master' into beta
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile16
1 files changed, 16 insertions, 0 deletions
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