fix: add missing dockerfile deps

This commit is contained in:
2025-01-18 01:52:28 +01:00
parent fcd21dc871
commit 6b6b9f8a6a
2 changed files with 5 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM denoland/deno:alpine-2.1.4
FROM denoland/deno:2.1.4
ENV DATA_DIR=/app/data
@ -6,8 +6,7 @@ WORKDIR /app
COPY . .
RUN apk add curl libstdc++ gtk+3.0 alsa-lib &&\
deno run -A npm:playwright install chromium-headless-shell &&\
RUN deno run -A npm:playwright install --with-deps firefox &&\
deno install --allow-import --allow-ffi --allow-scripts=npm:sharp@0.33.5-rc.1 -e main.ts &&\
sed -i -e 's/"deno"/"no-deno"/' node_modules/@libsql/client/package.json &&\
mkdir -p $DATA_DIR