Skip to content

Commit 13d66f2

Browse files
authored
Merge pull request #778 from tobiasge/path-update
Added our Python venv to the PATH variable
2 parents fceb6e0 + 901ac05 commit 13d66f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ RUN mkdir -p static /opt/unit/state/ /opt/unit/tmp/ \
8585
--config-file /opt/netbox/mkdocs.yml --site-dir /opt/netbox/netbox/project-static/docs/ \
8686
&& SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
8787

88-
ENV LANG=C.UTF-8
88+
ENV LANG=C.UTF-8 PATH=/opt/netbox/venv/bin:$PATH
8989
ENTRYPOINT [ "/usr/bin/tini", "--" ]
9090

9191
CMD [ "/opt/netbox/docker-entrypoint.sh", "/opt/netbox/launch-netbox.sh" ]

0 commit comments

Comments
 (0)