vlanassign/Dockerfile
Steve McMaster c46fbf3d72
All checks were successful
continuous-integration/drone/push Build is passing
Initial commit
2022-10-16 16:22:42 +00:00

13 lines
254 B
Docker

FROM python:alpine AS venv
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
COPY *.py /opt/app/
RUN pip3 install /opt/app/
FROM python:alpine AS runtime
ENTRYPOINT ["/opt/app/bin/vlanassign"]
CMD ["-c", "/data/config.yaml", "-L", "info"]