Add description for library
This commit is contained in:
parent
6e098da2e6
commit
167f816b94
@ -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/
|
||||
@ -33,8 +36,6 @@ COPY docker/nginx.conf /etc/netbox-nginx/nginx.conf
|
||||
|
||||
WORKDIR /opt/netbox/netbox
|
||||
|
||||
RUN pip3 install djangorestframework==3.6.4
|
||||
|
||||
COPY docker/docker-entrypoint.sh /docker-entrypoint.sh
|
||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user