mirror of
https://github.com/Xtao-Labs/QQ-GitHub-Bot.git
synced 2025-02-07 10:59:44 +00:00
14 lines
363 B
Docker
14 lines
363 B
Docker
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8
|
|
|
|
RUN ./install_wkhtmltox buster_amd64
|
|
|
|
RUN dpkg -i wkhtmltox_*.deb
|
|
|
|
RUN python3 -m pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
|
|
|
|
RUN python3 -m pip install poetry && poetry config virtualenvs.create false
|
|
|
|
COPY ./pyproject.toml ./poetry.lock* /app/
|
|
|
|
RUN poetry install --no-root --no-dev
|