mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
added NODE_ENV
This commit is contained in:
parent
43ba86986a
commit
ea589425cb
@ -1,4 +1,5 @@
|
||||
FROM node:16-bullseye
|
||||
ENV NODE_ENV=production
|
||||
|
||||
RUN apt update
|
||||
RUN apt install python -y
|
||||
@ -16,4 +17,4 @@ RUN chmod -R 777 /home/node/app
|
||||
RUN npm install
|
||||
RUN npm run build
|
||||
|
||||
CMD ["NODE_ENV=production", "node", "/home/node/app/dist/index.js"]
|
||||
CMD ["node", "/home/node/app/dist/index.js"]
|
Loading…
x
Reference in New Issue
Block a user