fix: Update python version in Dockerfile site-packages permissions

This commit is contained in:
Paul Gauthier
2026-02-11 06:32:23 -08:00
committed by Paul Gauthier (aider)
parent 5cb6b61047
commit a6a31c7b82

View File

@@ -48,7 +48,7 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
RUN /venv/bin/python -m playwright install --with-deps chromium
# Fix site-packages permissions
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
RUN find /venv/lib/python3.12/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
# Switch to appuser
USER appuser
@@ -72,7 +72,7 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
RUN /venv/bin/python -m playwright install --with-deps chromium
# Fix site-packages permissions
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
RUN find /venv/lib/python3.12/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
# Switch to appuser
USER appuser