mirror of
https://github.com/Aider-AI/aider
synced 2026-04-25 17:15:07 +02:00
fix: Update python version in Dockerfile site-packages permissions
This commit is contained in:
committed by
Paul Gauthier (aider)
parent
5cb6b61047
commit
a6a31c7b82
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user