Skip to content

Commit

Permalink
canvas
Browse files Browse the repository at this point in the history
  • Loading branch information
yordanovsstoyan committed Jun 24, 2024
1 parent b1e407e commit 104b983
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ FROM node:16 AS frontend
WORKDIR /build
COPY ./frontend/package.json ./frontend/package-lock.json /build/
ENV NEXT_TELEMETRY_DISABLED=1
# We need the libraries ,because of canvas https://github.com/Automattic/node-canvas/issues/1662
RUN apt-get -y update && \
apt-get -y install gcc build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
RUN npm ci
Expand Down

0 comments on commit 104b983

Please sign in to comment.