1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/Dockerfile
2016-05-09 14:59:34 -03:00

17 lines
429 B
Docker

FROM node:6.1.0-onbuild
RUN adduser --disabled-password --gecos "" verdaccio && \
mkdir -p /verdaccio/storage /verdaccio/conf && \
chown -R verdaccio.verdaccio /verdaccio
USER verdaccio
WORKDIR /verdaccio
ADD conf/docker.yaml /verdaccio/conf/config.yaml
EXPOSE 4873
VOLUME ["/verdaccio/conf", "/verdaccio/storage"]
CMD ["/usr/src/app/bin/sinopia", "--config", "/verdaccio/conf/config.yaml", "--listen", "0.0.0.0:4873"]