docker-net-dhcp/Dockerfile

13 lines
330 B
Docker
Raw Normal View History

2019-08-22 14:34:10 +00:00
FROM python:3-alpine
COPY requirements.txt /opt/
RUN pip install -r /opt/requirements.txt
2019-08-25 11:48:03 +00:00
RUN mkdir -p /opt/plugin /run/docker/plugins /var/run/docker/netns
2019-08-22 14:34:10 +00:00
COPY net-dhcp/ /opt/plugin/net_dhcp
2019-08-24 12:54:06 +00:00
COPY plugin.sh /opt/plugin/launch.sh
2019-08-22 14:34:10 +00:00
WORKDIR /opt/plugin
ENV GUNICORN_OPTS="--log-level=DEBUG"
ENTRYPOINT [ "/opt/plugin/launch.sh" ]