1
0
mirror of https://github.com/ZFC-Digital/cf-clearance-scraper.git synced 2025-08-30 19:00:51 +00:00
Files
cf-clearance-scraper/Dockerfile
Muhammet Derviş Aygan e1737ee4ed backup dockerfile
2025-02-01 18:07:59 +03:00

27 lines
394 B
Docker

FROM node:latest
RUN apt-get update && apt-get install -y \
wget \
gnupg \
ca-certificates \
apt-transport-https \
chromium \
chromium-driver \
xvfb \
&& rm -rf /var/lib/apt/lists/*
ENV CHROME_BIN=/usr/bin/chromium
WORKDIR /app
COPY package*.json ./
RUN npm update
RUN npm install
RUN npm i -g pm2
COPY . .
EXPOSE 3000
CMD ["pm2-runtime", "src/index.js"]