mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2026-03-22 08:16:54 +00:00
Fix command in netbox service to use python -m pip for installing requirements
This commit is contained in:
parent
2c1e4c7983
commit
f978c13b3a
|
|
@ -8,10 +8,11 @@ services:
|
|||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
image: ghcr.io/netbox-community/netbox:v4.4-3-plugins
|
||||
volumes:
|
||||
- ./requirements-plugins.txt:/plugins/requirements-plugins.txt:ro
|
||||
command: >
|
||||
sh -lc "/opt/netbox/venv/bin/pip install --no-cache-dir -r /plugins/requirements-plugins.txt
|
||||
sh -lc "/opt/netbox/venv/bin/python -m pip install --no-cache-dir -r /plugins/requirements-plugins.txt
|
||||
&& /opt/netbox/docker-entrypoint.sh"
|
||||
|
||||
netbox-worker:
|
||||
|
|
|
|||
Loading…
Reference in a new issue