cleanup Dockerfile - now 120mb smaller (300mb -> 180mb)
All checks were successful
Publish Docker Image / docker (push) Successful in 1m21s

This commit is contained in:
Lee 2023-07-12 11:38:33 +01:00
parent 58e51ed821
commit e8dae24f97

@ -1,4 +1,3 @@
# Use a smaller base image
FROM node:lts-slim
ENV NODE_ENV=production
@ -21,9 +20,5 @@ RUN npm prune --production
# Expose port 3000
EXPOSE 3000
# Set permissions and user
#RUN chown -R node /usr/src/app
#USER node
# Start the app
CMD ["npm", "start"]