dockerfiles/net/shuo/Dockerfile

16 lines
157 B
Docker

FROM node:4.0
RUN useradd --create-home shuo
RUN npm install -g shuo@0.54.2
ENV HOME /home/shuo
EXPOSE 9000
USER shuo
ADD . /home/shuo/.shuo
CMD shuo