diff --git a/Dockerfile b/Dockerfile index 66054ca..d675150 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,18 +2,17 @@ FROM ubuntu:16.04 MAINTAINER Isaac A., -RUN apt update && \ - apt upgrade -y && \ - apt install -y lib32gcc1 lib32stdc++6 unzip curl && \ - curl -sL https://deb.nodesource.com/setup_6.x | bash - && \ - apt install -y nodejs && \ - mkdir /node_modules && \ - npm install --prefix / ws && \ - useradd -d /home/container -m container +RUN apt update \ + && apt upgrade -y \ + && apt install -y lib32gcc1 lib32stdc++6 unzip curl \ + && curl -sL https://deb.nodesource.com/setup_6.x | bash - \ + && apt install -y nodejs \ + && mkdir /node_modules \ + && npm install --prefix / ws \ + && useradd -d /home/container -m container USER container -ENV USER container -ENV HOME /home/container +ENV USER=container HOME=/home/container WORKDIR /home/container