dyno-bot/dyno-image-generator-master/Dockerfile
2020-09-12 19:08:48 +01:00

15 lines
275 B
Docker

FROM node:9.3-slim
WORKDIR /usr/src/app
RUN apt-get update
RUN apt-get install libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++ --yes
COPY package.json .
COPY package-lock.json .
RUN npm install --production
COPY build .
CMD ["node", "index.js"]