Skip to content

Commit ba8293d

Browse files
committed
chore: add libpangocairo
1 parent 8899d9e commit ba8293d

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: Docker Image
2+
13
on:
24
pull_request:
35
push:
@@ -27,7 +29,7 @@ jobs:
2729
image_name: 'chartcuterie'
2830
platforms: linux/${{ matrix.platform }}
2931
dockerfile_path: './Dockerfile'
30-
ghcr: true
32+
ghcr: ${{ github.event_name != 'pull_request' }}
3133
tag_suffix: -${{ matrix.platform }}
3234
publish_on_pr: true
3335
google_ar: false

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20.19.5-bullseye AS builder
1+
FROM node:20.19.5-bookworm AS builder
22

33
COPY package.json yarn.lock .
44
RUN yarn install --frozen-lockfile
@@ -7,14 +7,15 @@ COPY tsconfig.json .
77
COPY src src
88
RUN yarn build
99

10-
FROM node:20.19.5-bullseye-slim
10+
FROM node:20.19.5-bookworm-slim
1111

1212
ENV NODE_ENV=production
1313

1414
RUN apt-get update && apt-get install -y --no-install-recommends \
1515
build-essential \
1616
libcairo2-dev \
1717
libpango1.0-dev \
18+
libpangocairo-1.0-0 \
1819
libjpeg-dev \
1920
libgif-dev \
2021
librsvg2-dev \

0 commit comments

Comments
 (0)