etherpad: move chown
This commit is contained in:
parent
b0d1e74427
commit
ec8ccd6439
1 changed files with 2 additions and 2 deletions
|
@ -18,10 +18,10 @@ RUN cd /srv/etherpad \
|
||||||
|
|
||||||
FROM ${REPO_LOCATION}minideb-node
|
FROM ${REPO_LOCATION}minideb-node
|
||||||
|
|
||||||
RUN mkdir -p /srv /.npm \
|
|
||||||
&& chown -R 70:70 /.npm /srv/etherpad
|
|
||||||
COPY --from=builder /srv/etherpad /srv/etherpad
|
COPY --from=builder /srv/etherpad /srv/etherpad
|
||||||
COPY settings.json /srv/etherpad/
|
COPY settings.json /srv/etherpad/
|
||||||
|
RUN mkdir -p /.npm && chown -R 70:70 /.npm /srv/etherpad
|
||||||
|
|
||||||
USER 70:70
|
USER 70:70
|
||||||
|
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
|
|
Loading…
Reference in a new issue