etherpad: Fix perms

This commit is contained in:
Starbeamrainbowlabs 2020-09-26 14:59:25 +01:00
parent 8668763487
commit 5a4d2e32d9
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 4 additions and 2 deletions

View File

@ -7,6 +7,7 @@
UID | GID | Container | Notes
--------|-------|-----------------------|-----------------
3 | 3 | docker-registry-ui |
50 | 995 | image-wrangler | 995 = docker group
60 | 60 | minetest-mapserver
60 | 60 | minetest-mapserver |
70 | 70 | etherpad |

View File

@ -7,7 +7,7 @@ RUN install_packages git
RUN git clone --branch master https://github.com/ether/etherpad-lite.git /srv/etherpad
RUN cd /srv && npm install
RUN cd /srv/etherpad && npm install && chown -R 70:70 /srv/etherpad
###############################################################################
@ -15,6 +15,7 @@ FROM ${REPO_LOCATION}minideb-node
RUN mkdir /srv
COPY --from=builder /srv/etherpad /srv/etherpad
USER 70:70
WORKDIR /srv/etherpad
ENTRYPOINT [ "/bin/sh" "/srv/etherpad/bin/run.sh" ]