Docker npm install back to config
This commit is contained in:
parent
f537b6042e
commit
502150eafd
@ -5,6 +5,7 @@ RUN chown -R 1000:1000 "/home/node/.npm"
|
|||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
USER node
|
USER node
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
|
RUN npm install
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD ["npm", "run", "dev"]
|
CMD ["npm", "run", "dev"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user