15 lines
345 B
Docker
15 lines
345 B
Docker
FROM docker.io/library/python:3.13-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1 \
|
|
PYTHONPATH=/app
|
|
|
|
RUN pip install --no-cache-dir requests PyYAML
|
|
|
|
WORKDIR /app
|
|
COPY dns_sync /app/dns_sync
|
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
|
RUN chmod 0755 /usr/local/bin/entrypoint.sh
|
|
|
|
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|