From 11ca73095cbfd1571396d61dfa119481f1c8916e Mon Sep 17 00:00:00 2001 From: John Graham <jjgraham@ucsd.edu> Date: Thu, 28 Jan 2021 21:05:25 -0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 153ff8a..4dc8216 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /tmp RUN git clone https://github.com/k01ek/netbox-qrcode.git WORKDIR /tmp/netbox-qrcode COPY setup.py . -COPY extra.py /etc/netbox/config/extra.py +RUN sed 's/PLUGINS = []/PLUGINS = ['netbox_qrcode']/g' /etc/netbox/config/configuration.py RUN python3 setup.py install WORKDIR /opt/netbox/netbox RUN rm -rf /tmp/netbox-qrcode -- GitLab