mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 03:15:06 +08:00
ci: update Dockerfile (#1420)
* ci: update Dockerfile * ci: update Dockerfile * ci: no `--locked`
This commit is contained in:
committed by
GitHub
parent
c6ff33c6ab
commit
4ed854d7b8
2
.github/pull_request_template.md
vendored
2
.github/pull_request_template.md
vendored
@@ -16,5 +16,5 @@
|
||||
|
||||
- [ ] 相关 issues 链接了吗?
|
||||
- [ ] 配置项写好了吗?迁移写好了吗?生效了吗?
|
||||
- [ ] 依赖写到 requirements.txt 和 core/bootutils/deps.py 了吗
|
||||
- [ ] 依赖加到 pyproject.toml 和 core/bootutils/deps.py 了吗
|
||||
- [ ] 文档编写了吗?
|
||||
@@ -16,7 +16,8 @@ COPY --from=node /app/web/out ./web/out
|
||||
|
||||
RUN apt update \
|
||||
&& apt install gcc -y \
|
||||
&& python -m pip install -r requirements.txt \
|
||||
&& python -m pip install --no-cache-dir uv \
|
||||
&& uv sync \
|
||||
&& touch /.dockerenv
|
||||
|
||||
CMD [ "python", "main.py" ]
|
||||
Reference in New Issue
Block a user