mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
fix: Restore site-packages permissions in Dockerfile for appuser access
This commit is contained in:
parent
73c89e8c00
commit
78ebb6295d
1 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,9 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
|
|||
# Install playwright browsers
|
||||
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 {} + \)
|
||||
|
||||
# Switch to appuser
|
||||
USER appuser
|
||||
|
||||
|
@ -62,6 +65,9 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip && \
|
|||
# Install playwright browsers
|
||||
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 {} + \)
|
||||
|
||||
# Switch to appuser
|
||||
USER appuser
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue