mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 22:02:37 +00:00
10 lines
527 B
Plaintext
10 lines
527 B
Plaintext
|
|
FROM netboxcommunity/netbox:latest
|
||
|
|
|
||
|
|
COPY ./plugin_requirements.txt /opt/netbox/
|
||
|
|
RUN /usr/local/bin/uv pip install -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 DEBUG="true" SECRET_KEY="dummydummydummydummydummydummydummydummydummydummy" \
|
||
|
|
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
|