From 63995d7a7e97911d9c9fedffc3f5ef70d12b11a0 Mon Sep 17 00:00:00 2001 From: Vinlic Date: Wed, 10 Apr 2024 18:36:43 +0800 Subject: [PATCH] update Dockerfile --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 220adf8..a0b0aee 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,11 @@ RUN npm i --registry http://registry.npmmirror.com && npm run build FROM node:lts-alpine -COPY --from=BUILD_IMAGE /app/configs ./configs -COPY --from=BUILD_IMAGE /app/package.json ./package.json -COPY --from=BUILD_IMAGE /app/dist ./dist -COPY --from=BUILD_IMAGE /app/node_modules ./node_modules +COPY --from=BUILD_IMAGE /app/configs /app/configs +COPY --from=BUILD_IMAGE /app/package.json /app/package.json +COPY --from=BUILD_IMAGE /app/dist /app/dist +COPY --from=BUILD_IMAGE /app/public /app/public +COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules WORKDIR /app