Skip to content
Snippets Groups Projects
Commit aed8c1fe authored by John Graham's avatar John Graham
Browse files

Update Dockerfile

parent 32e32e5d
No related branches found
No related tags found
No related merge requests found
Pipeline #14943 failed
......@@ -6,9 +6,10 @@ RUN apk add alpine-sdk git libressl-dev libffi-dev python3-dev libxml2-dev libxs
WORKDIR /tmp
RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin
WORKDIR /tmp/nextbox-ui-plugin
RUN source /opt/netbox/venv/bin/activate && /opt/netbox/venv/bin/pip3 install .
RUN source /opt/netbox/venv/bin/activate && \
/opt/netbox/venv/bin/pip3 install . && \
/opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
RUN rm -rf /tmp/netbox-qrcode /tmp/nextbox-ui-plugin
RUN rm -rf /tmp/netbox-qrcode /tmp/nextbox-ui-plugin && \
SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
WORKDIR /opt/netbox/netbox
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment