Skip to content

Commit

Permalink
fix: Dockerfile dependencies for the npm canvas package (#71)
Browse files Browse the repository at this point in the history
* fix: npm canvas build dependency

* fix: Add missing dependencies
  • Loading branch information
cyaiox authored Jan 11, 2024
1 parent f80681f commit 7cf3581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

# some packages require a build step
RUN apk update
RUN apk add --no-cache py3-setuptools python3-dev build-base
RUN apk add --no-cache py3-setuptools python3-dev build-base g++ make py3-pip libpng-dev jpeg-dev pango-dev cairo-dev giflib-dev

# install dependencies
COPY package.json /app/package.json
Expand All @@ -26,7 +26,7 @@ RUN npm install --only=production --ignore-scripts
FROM node:18-alpine

RUN apk update
RUN apk add --no-cache tini
RUN apk add --no-cache tini libpng jpeg cairo pango giflib

# NODE_ENV is used to configure some runtime options, like JSON logger
ENV NODE_ENV production
Expand Down

0 comments on commit 7cf3581

Please sign in to comment.