Skip to content

Commit

Permalink
should be ok now
Browse files Browse the repository at this point in the history
  • Loading branch information
ledouxm committed Nov 13, 2024
1 parent 40aee8e commit 26fcfe5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# BASE IMAGE FOR EVERY SERVICE #
################################
FROM --platform=linux/amd64 node:20.11-alpine AS with-pnpm
RUN apk add --no-cache \
build-base \
g++ \
cairo-dev \
jpeg-dev \
pango-dev \
giflib-dev \
pixman-dev \
pangomm-dev \
libjpeg-turbo-dev \
freetype-dev
RUN npm i -g pnpm

################################
Expand Down Expand Up @@ -34,17 +45,6 @@ RUN pnpm install --frozen-lockfile
################################
FROM with-deps AS backend

RUN apk add --no-cache \
build-base \
g++ \
cairo-dev \
jpeg-dev \
pango-dev \
giflib-dev \
pixman-dev \
pangomm-dev \
libjpeg-turbo-dev \
freetype-dev

WORKDIR /usr/src/app
COPY packages/backend/ ./packages/backend/
Expand Down

0 comments on commit 26fcfe5

Please sign in to comment.