mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
run as root in docker container to avoid issues with volume permissions
This commit is contained in:
parent
eec65929da
commit
3729c13a91
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
|||
FROM node:6.1.0-onbuild
|
||||
|
||||
RUN adduser --disabled-password --gecos "" verdaccio && \
|
||||
mkdir -p /verdaccio/storage /verdaccio/conf && \
|
||||
chown -R verdaccio.verdaccio /verdaccio
|
||||
RUN mkdir -p /verdaccio/storage /verdaccio/conf
|
||||
|
||||
USER verdaccio
|
||||
WORKDIR /verdaccio
|
||||
|
||||
ADD conf/docker.yaml /verdaccio/conf/config.yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue