mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 04:02:56 -06:00
Update Dockerfile
This commit is contained in:
parent
13fe406b63
commit
6abdac2eb4
@ -4,6 +4,7 @@ RUN mkdir -p /opt/netbox-zabbix
|
|||||||
COPY . /opt/netbox-zabbix
|
COPY . /opt/netbox-zabbix
|
||||||
WORKDIR /opt/netbox-zabbix
|
WORKDIR /opt/netbox-zabbix
|
||||||
RUN if ! [ -f ./config.py ]; then cp ./config.py.example ./config.py; fi
|
RUN if ! [ -f ./config.py ]; then cp ./config.py.example ./config.py; fi
|
||||||
|
RUN chown -R 1000:1000 /opt/netbox-zabbix
|
||||||
USER 1000:1000
|
USER 1000:1000
|
||||||
RUN pip install -r ./requirements.txt
|
RUN pip install -r ./requirements.txt
|
||||||
ENTRYPOINT ["python"]
|
ENTRYPOINT ["python"]
|
||||||
|
Loading…
Reference in New Issue
Block a user