Update
This commit is contained in:
+8
-1
@@ -63,11 +63,18 @@ ENTRYPOINT ["migrate"]
|
||||
# Production Stage
|
||||
FROM debian:bullseye-slim AS production
|
||||
|
||||
# Install minimal runtime dependencies
|
||||
# Install minimal runtime dependencies + Chrome, Chromium, and wkhtmltopdf for PDF generation
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
tzdata \
|
||||
curl \
|
||||
fontconfig \
|
||||
wget \
|
||||
gnupg \
|
||||
&& wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
||||
&& echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list \
|
||||
&& apt-get update \
|
||||
&& apt-get install -y google-chrome-stable chromium wkhtmltopdf \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Create non-root user for security
|
||||
|
||||
Reference in New Issue
Block a user