fix readme, first pull config file
This commit is contained in:
@ -33,5 +33,13 @@ RUN pip install -r requirements.txt \
|
||||
# change working dir to application
|
||||
WORKDIR /opt/netbox/netbox
|
||||
|
||||
# Static files generation
|
||||
RUN cp netbox/configuration_example.py netbox/configuration.py \
|
||||
&& python manage.py collectstatic --no-input \
|
||||
&& rm netbox/configuration.py
|
||||
|
||||
# Web server setup
|
||||
RUN cp /opt/netbox/contrib/gunicorn.py /opt/netbox/gunicorn.py
|
||||
|
||||
# run the service
|
||||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
|
||||
|
Reference in New Issue
Block a user