Skip to content

Commit fcf9270

Browse files
fix dockerfile
1 parent d6f8e18 commit fcf9270

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ COPY ./plugin_requirements.txt /opt/netbox/
44
ENV VIRTUAL_ENV=/opt/netbox/venv
55
RUN /usr/local/bin/uv pip install -r /opt/netbox/plugin_requirements.txt
66

7+
# Fix For Topology Views (Remove once https://github.com/netbox-community/netbox-topology-views/pull/608 is added )
8+
RUN sed -i 's/settings\.VERSION/settings\.RELEASE\.version/g' /opt/netbox/venv/lib/python3.12/site-packages/netbox_topology_views/template_content.py
9+
10+
711
# These lines are only required if your plugin has its own static files.
812
COPY config/configuration.py /etc/netbox/config/configuration.py
913
COPY config/plugins.py /etc/netbox/config/plugins.py

0 commit comments

Comments
 (0)