optimized dockerfile
All checks were successful
build / build (push) Successful in 1m46s

This commit is contained in:
cheetah 2025-04-05 05:27:08 +02:00
parent 1d94a0c1dc
commit 8295e63fe8

View file

@ -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