Downloader/Dockerfile
Renovate a12aa9e818
All checks were successful
Actions / Build and Push Images (pull_request) Has been skipped
Actions / Lint (pull_request) Successful in 17s
Actions / Lint (push) Successful in 15s
Actions / Build and Push Images (push) Successful in 34s
chore(deps): update ghcr.io/astral-sh/uv:debian-slim docker digest to 5ad2072
2025-01-30 22:00:42 +00:00

19 lines
468 B
Docker

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