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:
Soulter
2026-10-07 23:36:20 +08:00
parent 68d1baec85
commit 2d99044ebe
+1 -1
View File
@@ -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