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 \