Simplified the PDF gen quite a bit :)
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m37s
All checks were successful
Docker Deploy / build-and-push (push) Successful in 4m37s
This commit is contained in:
14
Dockerfile
14
Dockerfile
@@ -54,20 +54,6 @@ RUN pnpm run build
|
||||
|
||||
FROM node:24-alpine AS runtime
|
||||
|
||||
# Install runtime dependencies for Playwright
|
||||
RUN apk add --no-cache \
|
||||
chromium \
|
||||
nss \
|
||||
freetype \
|
||||
freetype-dev \
|
||||
harfbuzz \
|
||||
ca-certificates \
|
||||
ttf-freefont
|
||||
|
||||
# Tell Playwright to use the installed Chromium
|
||||
ENV PLAYWRIGHT_BROWSERS_PATH=/usr/bin
|
||||
ENV PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH=/usr/bin/chromium-browser
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy built application
|
||||
|
||||
Reference in New Issue
Block a user