You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
341 B
Docker
15 lines
341 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM python:3.9-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt requirements.txt
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
ADD https://github.com/StackExchange/dnscontrol/releases/latest/download/dnscontrol-Linux /usr/local/bin/dnscontrol
|
|
RUN chmod +x /usr/local/bin/dnscontrol
|
|
|
|
COPY . .
|
|
|
|
CMD [ "python3", "daemon.py" ] |