diff --git a/netbox/image/Dockerfile b/netbox/image/Dockerfile index 24d40e6..ac07660 100644 --- a/netbox/image/Dockerfile +++ b/netbox/image/Dockerfile @@ -11,13 +11,11 @@ COPY ./plugin_requirements.txt /opt/netbox/ RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt # Create required directory for Topology Views images -RUN mkdir -p /opt/netbox/netbox/static/netbox_topology_views/img && - chown -R unit:root /opt/netbox/netbox/static/netbox_topology_views +RUN mkdir -p /opt/netbox/netbox/static/netbox_topology_views/img && chown -R unit:root /opt/netbox/netbox/static/netbox_topology_views # Collect static files # SECRET_KEY must be 50+ characters! -RUN SECRET_KEY="dummyKeyWithMinimumLength-------------------------dsflgjkkljh3l4hkj6T#$%#alskjhdglhjkasdlkghjl" - /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input +RUN SECRET_KEY="dummyKeyWithMinimumLength-------------------------dsflgjkkljh3l4hkj6T#$%#alskjhdglhjkasdlkghjl" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input # Switch back to unit user USER unit