Add [docker]: add docker bot image file & compose file

This commit is contained in:
Kirill Samoylenkov 2025-10-24 00:42:45 +05:00
parent 8251aa21bd
commit abf8c2c55a
2 changed files with 28 additions and 0 deletions

20
docker/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM ghcr.io/astral-sh/uv:trixie-slim
# Settings for UV
ENV UV_COMPILE_BYTECODE=1
ENV UV_TOOL_BIN_DIR=/usr/local/bin
# Copy base project files
COPY . /urfu-daddy
# Set working dir
WORKDIR /urfu-daddy
# Run UV commands
RUN uv sync --locked --no-install-project --no-dev
# Add uv installed tools to path
ENV PATH="/urfu-daddy/.venv/bin:$PATH"
# Clear entrypoint
ENTRYPOINT []