Update Dockerfile

This commit is contained in:
Raymond Kuiper
2025-04-10 15:34:50 +02:00
committed by GitHub
parent 10313ef5cf
commit 73d34851fb

View File

@@ -1,8 +1,7 @@
# syntax=docker/dockerfile:1
FROM python:3.12-alpine
RUN mkdir -p /opt/netbox-zabbix
USER 1000:1000
RUN mkdir -p /opt/netbox-zabbix
COPY --chown=1000:1000 . /opt/netbox-zabbix
WORKDIR /opt/netbox-zabbix
RUN if ! [ -f ./config.py ]; then cp ./config.py.example ./config.py; fi