mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-02 09:26:12 +08:00
10 lines
339 B
Plaintext
10 lines
339 B
Plaintext
FROM python:3.11
|
|
RUN python3 -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
|
|
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
|
|
WORKDIR /app
|
|
COPY ./README.md ./pyproject.toml ./poetry.lock* /app/
|
|
RUN poetry install --only=main,docker
|
|
ADD src /app/src
|
|
ENV HOST=0.0.0.0
|
|
CMD ["nb", "run"]
|