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

Update Dockerfile

parent 64978175
No related branches found
No related tags found
No related merge requests found
Pipeline #14947 passed
...@@ -6,9 +6,8 @@ RUN apk add alpine-sdk git libressl-dev libffi-dev python3-dev libxml2-dev libxs ...@@ -6,9 +6,8 @@ RUN apk add alpine-sdk git libressl-dev libffi-dev python3-dev libxml2-dev libxs
WORKDIR /tmp WORKDIR /tmp
RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin RUN git clone https://github.com/iDebugAll/nextbox-ui-plugin
WORKDIR /tmp/nextbox-ui-plugin WORKDIR /tmp/nextbox-ui-plugin
RUN source /opt/netbox/venv/bin/activate && \ RUN source /opt/netbox/venv/bin/activate && /opt/netbox/venv/bin/pip3 install .
/opt/netbox/venv/bin/pip3 install . && \ RUN SECRET_KEY="dummy" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input
SECRET_KEY="dummy" /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
......
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