File size: 303 Bytes
6029e36 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
FROM node:18-slim
RUN apt-get update && apt-get install -y \
wget \
gnupg \
ca-certificates \
procps \
chromium \
chromium-sandbox
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
ENV CHROME_PATH=/usr/bin/chromium
ENV PORT=7860
EXPOSE 7860
CMD ["npm", "start"] |