Downloader/Dockerfile
Renovate fe487d7a58
All checks were successful
Actions / Build and Push Images (pull_request) Has been skipped
Actions / Lint (pull_request) Successful in 19s
Actions / Lint (push) Successful in 18s
Actions / Build and Push Images (push) Successful in 37s
chore(deps): update ghcr.io/astral-sh/uv:debian-slim docker digest to aa738d2
2025-01-21 22:21:05 +00:00

19 lines
468 B
Docker

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