17 lines
286 B
Docker
17 lines
286 B
Docker
FROM python:3.14.7-alpine3.24
|
|||
|
|
|
||
|
|
# Install dnsmasq
|
||
|
|
RUN apk --update --no-cache add dnsmasq
|
||
|
|
|
||
|
|
# Install libraries
|
||
|
|
COPY ./requirements.txt /requirements.txt
|
||
|
|
RUN pip3 install -r /requirements.txt
|
||
|
|
|
||
|
|
# Copy source
|
||
|
|
COPY ./run.sh /run.sh
|
||
|
|
COPY ./app/ /app
|
||
|
|
|
||
|
|
RUN mkdir /app/hosts.d/
|
||
|
|
|
||
|
|
CMD ["/run.sh"]
|