Downloader/Dockerfile
Renovate e4f2331a65
All checks were successful
Actions / Build and Push Images (pull_request) Has been skipped
Actions / Lint (pull_request) Successful in 17s
Update ghcr.io/astral-sh/uv:debian-slim Docker digest to d34e62c
2025-01-07 00:40:54 +00:00

19 lines
468 B
Docker

FROM ghcr.io/astral-sh/uv:debian-slim@sha256:d34e62cbfa87451e7ae956a9183954b5800fb5ab8d4aa9452fefdfcf0d1950e1
WORKDIR /app
COPY src src
COPY README.md README.md
COPY pyproject.toml pyproject.toml
COPY uv.lock uv.lock
COPY LICENSE LICENSE
RUN apt-get update && apt-get install -y curl
RUN uv sync --no-dev
CMD ["uv", "run", "src/main.py"]
HEALTHCHECK --interval=1m --timeout=30s --start-period=10s --retries=3 CMD curl -f http://localhost:80 || exit 1
EXPOSE 80