diff --git a/Dockerfile b/Dockerfile index 77628da..ffd868f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]