From f1e6407a1999993d5832794503621a84853b77b2 Mon Sep 17 00:00:00 2001 From: Jochen Wierum Date: Fri, 17 Apr 2020 08:12:27 +0200 Subject: [PATCH] Don't use root when running node --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 7ea9c7f..05d1f0e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,4 +9,5 @@ RUN mkdir /presentations ENV PRESENTATION_PRESENTATION_PATH /presentations COPY . . +USER 65534 CMD ["node", "/app/index.js"]