Fixed permissions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user