mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-20 04:14:59 +00:00
fix: Add permissions to Python packages in Docker image
This commit is contained in:
parent
fd7f3f0a96
commit
a01749cb32
1 changed files with 3 additions and 0 deletions
|
@ -27,6 +27,7 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
|
|||
--extra-index-url https://download.pytorch.org/whl/cpu \
|
||||
&& rm -rf /tmp/aider
|
||||
|
||||
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
|
||||
RUN playwright install --with-deps chromium
|
||||
|
||||
ENTRYPOINT ["/venv/bin/aider"]
|
||||
|
@ -40,4 +41,6 @@ RUN /venv/bin/python -m pip install --upgrade --no-cache-dir pip \
|
|||
--extra-index-url https://download.pytorch.org/whl/cpu \
|
||||
&& rm -rf /tmp/aider
|
||||
|
||||
RUN find /venv/lib/python3.10/site-packages \( -type d -exec chmod a+rwx {} + \) -o \( -type f -exec chmod a+rw {} + \)
|
||||
|
||||
ENTRYPOINT ["/venv/bin/aider"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue