From 8295e63fe8ee391989908c2b76b4728a9c101146 Mon Sep 17 00:00:00 2001 From: cheetah Date: Sat, 5 Apr 2025 05:27:08 +0200 Subject: [PATCH] optimized dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c46a128..25e5134 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,10 +11,10 @@ WORKDIR /usr/src/app ENV CHROME_BIN="/usr/bin/chromium-browser"\ PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true" -COPY . . - +COPY package.json . RUN npm install puppeteer RUN npm install +COPY . . USER node EXPOSE 3000