This commit is contained in:
2024-11-07 13:46:49 +03:00
parent 773a9b9ef4
commit d453168457
9 changed files with 468 additions and 0 deletions

12
bot/Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM python:3.12.7-alpine
WORKDIR /app
ADD https://astral.sh/uv/install.sh /uv-installer.sh
RUN sh /uv-installer.sh
ENV PATH="/root/.cargo/bin/:$PATH"
ADD pyproject.toml .
ADD uv.lock .
RUN uv sync --frozen
ADD . .
CMD ["uv", "run", "python", "/app/bot.py"]