From 297aab1fd30ac6c1be1d14734d7d7c19b13b5013 Mon Sep 17 00:00:00 2001 From: Tobias Genannt Date: Wed, 2 Feb 2022 16:49:29 +0100 Subject: [PATCH] Fixed build for Netbox feature branch --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 505b888..51cd359 100644 --- a/Dockerfile +++ b/Dockerfile @@ -97,7 +97,7 @@ WORKDIR /opt/netbox/netbox RUN mkdir -p static /opt/unit/state/ /opt/unit/tmp/ \ && chown -R unit:root media /opt/unit/ \ && chmod -R g+w media /opt/unit/ \ - && cd /opt/netbox/ && /opt/netbox/venv/bin/python -m mkdocs build \ + && cd /opt/netbox/ && SECRET_KEY="dummy" /opt/netbox/venv/bin/python -m mkdocs build \ --config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ \ && SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input