Files
journal-bot/Dockerfile
Remy Moll 29d951427d
All checks were successful
Build container / Build (pull_request) Successful in 43s
switched to uv and gitea-actions-based pipeline
2025-07-29 14:28:07 +02:00

15 lines
334 B
Docker

FROM docker.io/python:3.13-alpine
# use the latest version of uv, independently of the python version
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
WORKDIR /app
# copy the requirements and install them
COPY pyproject.toml uv.lock .
RUN uv sync --frozen
# copy the rest of the code
COPY bot .
CMD ["uv", "run", "main.py"]