Docker npm install back to config

This commit is contained in:
infidel 2022-12-06 12:16:06 +07:00
parent f537b6042e
commit 502150eafd

View File

@ -5,6 +5,7 @@ RUN chown -R 1000:1000 "/home/node/.npm"
WORKDIR /home/node/app
USER node
COPY --chown=node:node . .
RUN npm install
EXPOSE 5000
CMD ["npm", "run", "dev"]