canvas fix

This commit is contained in:
Stanislaw
2022-07-01 22:51:06 +02:00
parent 8ec2b4dca2
commit 918e498ac3
2 changed files with 4 additions and 2 deletions

View File

@@ -2,5 +2,8 @@
FROM node:16.10.0
WORKDIR /app
COPY ./ ./
RUN apt-get -y update
RUN apt-get install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
RUN npm install --build-from-source canvas
RUN npm install
CMD ["node", "index.js"]