mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
fix: no interaction when clearing poetry cache (#6752)
This commit is contained in:
parent
30e39e85d0
commit
b018567d53
@ -88,7 +88,7 @@ RUN \
|
||||
# Set environment variables
|
||||
echo "OH_INTERPRETER_PATH=$(/openhands/micromamba/bin/micromamba run -n openhands poetry run python -c "import sys; print(sys.executable)")" >> /etc/environment && \
|
||||
# Clear caches
|
||||
/openhands/micromamba/bin/micromamba run -n openhands poetry cache clear --all . && \
|
||||
/openhands/micromamba/bin/micromamba run -n openhands poetry cache clear --all . -n && \
|
||||
# Set permissions
|
||||
chmod -R g+rws /openhands/poetry && \
|
||||
mkdir -p /openhands/workspace && chmod -R g+rws,o+rw /openhands/workspace && \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user