etherpad: Move chown to real container, as it doesn't appear to carry over from the builder
This commit is contained in:
parent
56f9008b34
commit
b0d1e74427
1 changed files with 3 additions and 3 deletions
|
@ -12,14 +12,14 @@ ENV PYTHON /usr/bin/python3
|
|||
RUN cd /srv/etherpad \
|
||||
&& ln -s /usr/bin/python3 /usr/bin/python \
|
||||
&& npm install \
|
||||
&& npm install sqlite3 \
|
||||
&& chown -R 70:70 /srv/etherpad
|
||||
&& npm install sqlite3
|
||||
|
||||
###############################################################################
|
||||
|
||||
FROM ${REPO_LOCATION}minideb-node
|
||||
|
||||
RUN mkdir -p /srv /.npm && chown -R 70:70 /.npm
|
||||
RUN mkdir -p /srv /.npm \
|
||||
&& chown -R 70:70 /.npm /srv/etherpad
|
||||
COPY --from=builder /srv/etherpad /srv/etherpad
|
||||
COPY settings.json /srv/etherpad/
|
||||
USER 70:70
|
||||
|
|
Loading…
Reference in a new issue