From 453567dc9c9d1843e08d547f5eca8279d4029626 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Tue, 4 Nov 2025 20:38:51 +1100 Subject: [PATCH] fix docker --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27378d0..7c11cb1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,8 +58,8 @@ RUN rm -rf /tmp/.cache/uv ~/.npm ~/.cache \ && rm -rf /app/.venv/lib/python3.12/site-packages/pip \ && rm -rf /app/.venv/lib/python3.12/site-packages/setuptools -# Production stage - use Debian Bookworm slim -FROM debian:bookworm-slim +# Production stage - use Python 3.12 slim +FROM python:3.12-slim # Set environment variables ENV PYTHONDONTWRITEBYTECODE=1 @@ -74,9 +74,6 @@ WORKDIR /app # Install only runtime dependencies in one layer RUN apt-get update && apt-get install -y --no-install-recommends \ - python3.12 \ - python3.12-lib2to3 \ - python3.12-distutils \ curl \ chromium \ chromium-driver \