Update Dockerfile

This commit is contained in:
Raymond Kuiper 2025-04-10 16:01:53 +02:00 committed by GitHub
parent 13fe406b63
commit 6abdac2eb4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ RUN mkdir -p /opt/netbox-zabbix
COPY . /opt/netbox-zabbix
WORKDIR /opt/netbox-zabbix
RUN if ! [ -f ./config.py ]; then cp ./config.py.example ./config.py; fi
RUN chown -R 1000:1000 /opt/netbox-zabbix
USER 1000:1000
RUN pip install -r ./requirements.txt
ENTRYPOINT ["python"]