mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
added NODE_ENV
This commit is contained in:
parent
43ba86986a
commit
ea589425cb
@ -1,4 +1,5 @@
|
|||||||
FROM node:16-bullseye
|
FROM node:16-bullseye
|
||||||
|
ENV NODE_ENV=production
|
||||||
|
|
||||||
RUN apt update
|
RUN apt update
|
||||||
RUN apt install python -y
|
RUN apt install python -y
|
||||||
@ -16,4 +17,4 @@ RUN chmod -R 777 /home/node/app
|
|||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
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