Cleanup Dockerfile

This commit is contained in:
Dane Everitt 2017-10-09 23:08:10 -05:00
parent 4e55d20297
commit 07dfffcc4e
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -2,18 +2,17 @@ FROM ubuntu:16.04
MAINTAINER Isaac A., <isaac@isaacs.site> MAINTAINER Isaac A., <isaac@isaacs.site>
RUN apt update && \ RUN apt update \
apt upgrade -y && \ && apt upgrade -y \
apt install -y lib32gcc1 lib32stdc++6 unzip curl && \ && apt install -y lib32gcc1 lib32stdc++6 unzip curl \
curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ && curl -sL https://deb.nodesource.com/setup_6.x | bash - \
apt install -y nodejs && \ && apt install -y nodejs \
mkdir /node_modules && \ && mkdir /node_modules \
npm install --prefix / ws && \ && npm install --prefix / ws \
useradd -d /home/container -m container && useradd -d /home/container -m container
USER container USER container
ENV USER container ENV USER=container HOME=/home/container
ENV HOME /home/container
WORKDIR /home/container WORKDIR /home/container