We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9142aaf commit 9d476faCopy full SHA for 9d476fa
Dockerfile
@@ -74,6 +74,8 @@ WORKDIR /opt/netbox/netbox
74
# to g+w so that pictures can be uploaded to netbox.
75
RUN mkdir -p static /opt/unit/state/ /opt/unit/tmp/ \
76
&& chmod -R g+w media /opt/unit/ \
77
+ && cd /opt/netbox/ && /opt/netbox/venv/bin/python -m mkdocs build \
78
+ --config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ \
79
&& SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
80
81
ENTRYPOINT [ "/opt/netbox/docker-entrypoint.sh" ]
0 commit comments