Install only production ready dependencies.

This commit is contained in:
SamTV12345 2023-07-01 18:24:00 +02:00
parent 08c15fa4a1
commit e6bb346e6f
No known key found for this signature in database
GPG key ID: E63EEC7466038043
2 changed files with 14 additions and 7 deletions

View file

@ -60,6 +60,7 @@ ARG EP_UID=5001
ARG EP_GID=0
ARG EP_SHELL=
ENV NODE_ENV=production
RUN groupadd --system ${EP_GID:+--gid "${EP_GID}" --non-unique} etherpad && \
useradd --system ${EP_UID:+--uid "${EP_UID}" --non-unique} --gid etherpad \