etherpad: fix npm cache location, as etherpad does an npm update on startup
This commit is contained in:
parent
cedba508f7
commit
841a7af89b
1 changed files with 4 additions and 2 deletions
|
@ -19,11 +19,13 @@ RUN cd /srv/etherpad \
|
|||
|
||||
FROM ${REPO_LOCATION}minideb-node
|
||||
|
||||
RUN mkdir -p /srv
|
||||
RUN mkdir -p /srv /.npm && chown -R 70:70 /.npm
|
||||
COPY --from=builder /srv/etherpad /srv/etherpad
|
||||
COPY settings.json /srv/etherpad/
|
||||
USER 70:70
|
||||
|
||||
ENV NODE_ENV production
|
||||
WORKDIR /srv/etherpad
|
||||
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]
|
||||
ENTRYPOINT [ "/bin/sh" ]
|
||||
|
||||
CMD /srv/etherpad/bin/run.sh
|
||||
|
|
Loading…
Reference in a new issue