mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
update Dockerfile
This commit is contained in:
parent
3347df84ba
commit
206423a2a0
@ -8,11 +8,9 @@ USER node
|
||||
|
||||
EXPOSE 9000
|
||||
|
||||
COPY package.json ./
|
||||
COPY --chown=node:node . .
|
||||
COPY --chown=node:node package.json ./
|
||||
COPY --chown=node:node ./dist .
|
||||
|
||||
RUN chmod -R 777 /home/node/app
|
||||
RUN npm install
|
||||
RUN npm run build:dist
|
||||
|
||||
CMD ["node", "/home/node/app/server.js"]
|
Loading…
x
Reference in New Issue
Block a user