fix docker

This commit is contained in:
2025-11-04 20:38:51 +11:00
parent 1c14458ab0
commit 453567dc9c
+2 -5
View File
@@ -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 \