Fixed permissions

This commit is contained in:
Sebastian Seedorf
2022-01-30 16:32:08 +01:00
parent 3258e6e92d
commit de273e14c9

View File

@@ -5,7 +5,9 @@ ENV NODE_ENV=production
COPY . /app COPY . /app
RUN npm install --only=production RUN npm install --only=production && chown 1001:1001 /app
USER 1001:1001
ENTRYPOINT npm start ENTRYPOINT npm start
EXPOSE 3000 EXPOSE 3000