From 502150eafd6dae57389bf0305e1fbf498daa776a Mon Sep 17 00:00:00 2001 From: infidel Date: Tue, 6 Dec 2022 12:16:06 +0700 Subject: [PATCH] Docker npm install back to config --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 488f24c..597aea6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]