mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-10-16 06:58:51 +08:00
feat: use editable install for astrbot CLI in Docker image
Install the project with 'uv pip install -e .' so the astrbot console script always reflects the source tree baked into the image, avoiding drift between the CLI and the running server code.
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ RUN python -m pip install uv \
|
||||
&& uv export --format requirements.txt --output-file requirements.txt --frozen \
|
||||
&& uv pip install -r requirements.txt --no-cache-dir --system \
|
||||
&& uv pip install socksio uv pilk --no-cache-dir --system \
|
||||
&& uv pip install . --no-deps --no-cache-dir --system \
|
||||
&& uv pip install -e . --no-deps --system \
|
||||
&& touch /AstrBot/.astrbot
|
||||
|
||||
EXPOSE 6185
|
||||
|
||||
Reference in New Issue
Block a user