1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #496 from rfdrake/develop

fix for Dockerfile
This commit is contained in:
Jeremy Stretch
2016-08-22 09:11:05 -04:00
committed by GitHub

View File

@ -2,9 +2,10 @@ FROM python:2.7-wheezy
WORKDIR /opt/netbox WORKDIR /opt/netbox
ADD . /opt/netbox ARG BRANCH=master
RUN git clone --depth 1 https://github.com/digitalocean/netbox.git -b master . \ ARG URL=https://github.com/digitalocean/netbox.git
RUN pip install gunicorn==17.5 && pip install -r requirements.txt RUN git clone --depth 1 $URL -b $BRANCH . && \
pip install gunicorn==17.5 && pip install -r requirements.txt
ADD docker/docker-entrypoint.sh /docker-entrypoint.sh ADD docker/docker-entrypoint.sh /docker-entrypoint.sh
ADD netbox/netbox/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py ADD netbox/netbox/configuration.docker.py /opt/netbox/netbox/netbox/configuration.py