🐳 Change to the actual workdir
This commit is contained in:
parent
822350d666
commit
ab0c255040
2 changed files with 6 additions and 4 deletions
|
@ -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" ]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue