Files
dns/Dockerfile
Remy Moll 4209fc568f
All checks were successful
Build container / Build (push) Successful in 2m57s
slight whoopsie on file copying
2025-10-17 09:01:10 +02:00

17 lines
445 B
Docker

# use python 3.12 as a base image
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:0.9.3 /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 config.yaml .
COPY config/ ./config/
CMD ["uv", "run", "octodns-sync", "--config-file", "config.yaml", "--doit"]