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.
docker-net-dhcp/Dockerfile

13 lines
308 B
Docker

FROM python:3-alpine
COPY requirements.txt /opt/
RUN pip install -r /opt/requirements.txt
RUN mkdir -p /opt/plugin /run/docker/plugins
COPY net-dhcp/ /opt/plugin/net_dhcp
COPY plugin.sh /opt/plugin/launch.sh
WORKDIR /opt/plugin
ENV GUNICORN_OPTS="--log-level=DEBUG"
ENTRYPOINT [ "/opt/plugin/launch.sh" ]