Downloader/Dockerfile
Renovate e4c7bb551c
Some checks failed
Actions / Build and Push Images (pull_request) Has been skipped
Actions / Build and Push Images (push) Failing after 0s
Actions / Lint (push) Failing after 0s
Actions / Lint (pull_request) Successful in 14s
chore(deps): update ghcr.io/astral-sh/uv:debian-slim docker digest to d59dc02
2025-02-12 21:01:09 +00:00

19 lines
468 B
Docker

FROM ghcr.io/astral-sh/uv:debian-slim@sha256:d59dc029f783ab1b2a7fcc39b2655727dedff2aa13eb5f0d41d0d374cc3a7fca
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