summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 6a6c9d5cf6d9eb17ed1b9acf456ac9976a34bad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM node:14-alpine
RUN apk add --no-cache \
      chromium \
      nss \
      freetype \
      freetype-dev \
      harfbuzz \
      ca-certificates \
      ttf-freefont
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 3000
CMD [ "npm", "start" ]