diff --git a/Dockerfile b/Dockerfile index c3a2f48..07233d2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,9 @@ ENV NODE_ENV=production COPY . /app -RUN npm install --only=production +RUN npm install --only=production && chown 1001:1001 /app + +USER 1001:1001 ENTRYPOINT npm start EXPOSE 3000