From e86080a0f81ff8911bdda125a6e2d7115ef5fbcd Mon Sep 17 00:00:00 2001 From: Dadiorchen Date: Fri, 4 Feb 2022 11:54:27 +0800 Subject: [PATCH] fix: deploy test --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ba9130a1..b70c2c63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM node:16-alpine WORKDIR /app ENV PATH /app/node_modules/.bin:$PATH -RUN mkdir -p ./node_modules COPY node_modules ./node_modules/ COPY package.json ./ COPY package-lock.json ./ +RUN npm ci COPY dist ./dist/ CMD [ "npm", "start" ]