summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Dockerfile b/Dockerfile
index f0c3df9..cf9e7f0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -18,16 +18,7 @@ WORKDIR /app
COPY package*.json ./
-RUN npm install \
- # Add user so we don't need --no-sandbox.
- # same layer as npm install to keep re-chowned files from using up several hundred MBs more space
- && groupadd -r pptruser && useradd -r -g pptruser -G audio,video pptruser \
- && mkdir -p /home/pptruser/Downloads \
- && chown -R pptruser:pptruser /home/pptruser \
- && chown -R pptruser:pptruser /app/node_modules
-
-# Run everything after as non-privileged user.
-USER pptruser
+RUN npm install
COPY . .