Files
docker-domainmapper/Dockerfile
2025-08-24 21:55:40 +07:00

21 lines
430 B
Docker

# CLONE
FROM alpine:3.22 AS cloner
RUN apk add --no-cache git; \
git clone --depth=1 https://github.com/Ground-Zerro/DomainMapper.git
# RUN
FROM python:3.12-alpine
COPY --from=cloner /DomainMapper /usr/src/app
WORKDIR /usr/src/app
COPY files/custom-dns-list.txt custom-dns-list.txt
COPY files/config.ini config.ini
COPY files/main.py main.py
RUN pip install --no-cache-dir -r requirements.txt
CMD ["python", "main.py"]