Compare commits
2 Commits
238bd37d40
...
d39078a78d
Author | SHA1 | Date | |
---|---|---|---|
|
d39078a78d | ||
|
f6b4e66df4 |
@ -1,12 +1,15 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
FROM python:3.9-alpine
|
FROM python:3.9-slim
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt requirements.txt
|
COPY requirements.txt requirements.txt
|
||||||
RUN pip3 install -r 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 . .
|
COPY . .
|
||||||
|
|
||||||
CMD [ "python3", "daemon.py" ]
|
CMD [ "python3", "daemon.py" ]
|
Loading…
x
Reference in New Issue
Block a user