mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
update build cmds
This commit is contained in:
parent
672b778ae4
commit
130097f5df
@ -11,6 +11,8 @@ EXPOSE 3010
|
|||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
|
||||||
RUN chmod -R 777 /home/node/app && npm install
|
RUN chmod -R 777 /home/node/app
|
||||||
|
RUN npm install
|
||||||
|
RUN npm run build
|
||||||
|
|
||||||
CMD ["/home/node/app/node_modules/corenode/bin/corenode-node", "/home/node/app/src/index.js"]
|
CMD ["node", "/home/node/app/dist/index.js"]
|
Loading…
x
Reference in New Issue
Block a user