dispatcher/Dockerfile
cheetah 9fcc3d122a
Some checks failed
build / build (push) Failing after 1m42s
shrinked build action + fix config load
2025-04-05 04:44:02 +02:00

23 lines
No EOL
347 B
Docker

ARG NODE_VERSION=23.0.0
FROM node:${NODE_VERSION}-alpine
ENV NODE_ENV production
RUN apk add chromium python3 g++ make py3-pip
WORKDIR /usr/src/app
ENV CHROME_BIN="/usr/bin/chromium-browser"\
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
COPY . .
RUN npm install puppeteer
RUN npm install
USER node
EXPOSE 3000
EXPOSE 3001
CMD node index.js