Merge pull request #9 from ninech/37619-build-failes

Set right version of django rest framework
This commit is contained in:
Christian Mäder 2017-10-10 12:28:20 +02:00 committed by GitHub
commit d01fb311c6
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,9 @@ RUN wget -q -O - "${URL}" | tar xz \
WORKDIR /opt/netbox
RUN pip install -r requirements.txt
# Netbox requires v3.6.4 of django rest framework
# https://github.com/digitalocean/netbox/issues/1564
RUN pip install djangorestframework==3.6.4
RUN ln -s configuration.docker.py /opt/netbox/netbox/netbox/configuration.py
COPY docker/gunicorn_config.py /opt/netbox/