🐳 Change to the actual workdir

This commit is contained in:
Christian Mäder 2017-08-30 11:09:24 +02:00
parent 822350d666
commit ab0c255040
No known key found for this signature in database
GPG key ID: 92FFD0A711F196BB
2 changed files with 6 additions and 4 deletions

View file

@ -27,10 +27,12 @@ RUN wget -q -O - "${URL}" | tar xz \
WORKDIR /opt/netbox
RUN pip install -r requirements.txt
RUN ln -s configuration.docker.py netbox/netbox/configuration.py
RUN ln -s configuration.docker.py /opt/netbox/netbox/netbox/configuration.py
COPY docker/gunicorn_config.py /opt/netbox/
COPY docker/nginx.conf /etc/netbox-nginx/nginx.conf
WORKDIR /opt/netbox/netbox
COPY docker/docker-entrypoint.sh /docker-entrypoint.sh
ENTRYPOINT [ "/docker-entrypoint.sh" ]