Add Dockerfile-Plugins
This commit is contained in:
parent
725764b856
commit
0e86bbb17e
9
Dockerfile-Plugins
Normal file
9
Dockerfile-Plugins
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM netboxcommunity/netbox:latest
|
||||||
|
|
||||||
|
COPY ./plugin_requirements.txt /opt/netbox/
|
||||||
|
RUN /opt/netbox/venv/bin/pip install --no-warn-script-location -r /opt/netbox/plugin_requirements.txt
|
||||||
|
|
||||||
|
# These lines are only required if your plugin has its own static files.
|
||||||
|
COPY configuration/configuration.py /etc/netbox/config/configuration.py
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user