diff options
author | Devin Matte <devin@devinmatte.com> | 2018-08-28 12:59:32 -0400 |
---|---|---|
committer | Devin Matte <devin@devinmatte.com> | 2018-08-28 13:03:43 -0400 |
commit | 2f7ca68b2fbcdb13f5c0a9ec2ac796189620ab3d (patch) | |
tree | 5e8a49619d47d82563db3f3e052115a51d11ca6b /Dockerfile | |
parent | edd5936fbbe94e3481f48fc297e5ae22c5bf46d9 (diff) |
Adding basic Table UI
Data needed next
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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=-"] |