Files
coredns-netbox-plugin-dns/.testing/netbox.Containerfile
T
2024-05-06 17:43:25 -06:00

14 lines
434 B
Docker

FROM docker.io/netboxcommunity/netbox:latest
COPY ./requirements-plugin.txt /opt/netbox/
RUN /opt/netbox/venv/bin/pip install \
--no-warn-script-location \
-r /opt/netbox/requirements-plugin.txt
COPY configuration/plugins.py /etc/netbox/config/plugins.py
RUN SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" \
/opt/netbox/venv/bin/python \
/opt/netbox/netbox/manage.py \
collectstatic --no-input