aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDevin Matte <devin@devinmatte.com>2018-08-28 12:59:32 -0400
committerDevin Matte <devin@devinmatte.com>2018-08-28 13:03:43 -0400
commit2f7ca68b2fbcdb13f5c0a9ec2ac796189620ab3d (patch)
tree5e8a49619d47d82563db3f3e052115a51d11ca6b /Dockerfile
parentedd5936fbbe94e3481f48fc297e5ae22c5bf46d9 (diff)
Adding basic Table UI
Data needed next
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 4b162f9..2d5bd1e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,4 +14,16 @@ RUN apt-get -yq update && \
ADD . /opt/packet
+RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && \
+ curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
+ echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
+ apt-get -yq update && \
+ apt-get -yq install nodejs npm yarn && \
+ yarn install && \
+ npm install -g gulp && \
+ gulp production && \
+ rm -rf node_modules && \
+ apt-get -yq remove nodejs npm yarn && \
+ apt-get -yq clean all
+
CMD ["gunicorn", "packet:app", "--bind=0.0.0.0:8080", "--access-logfile=-"]