From 185aa42f3d4f9f9ed39c8c0ca9df0b10866f2a75 Mon Sep 17 00:00:00 2001 From: bLue Date: Sat, 30 Nov 2024 12:07:38 +0800 Subject: [PATCH] fix: dockerfile --- Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index f094e91..be3179b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,15 +2,7 @@ FROM sdutacm/nodebase:16.15.0 WORKDIR /app -COPY package.json ./ -COPY package-lock.json ./ -COPY .node-version ./ -COPY ecosystem.config.js ./ -COPY index.js ./ -COPY configs ./configs -COPY scripts ./scripts -COPY utils ./utils -COPY schedules ./schedules +COPY . . RUN npm ci ENV PATH="/app/node_modules/pm2/bin:${PATH}"