used network: host option (workaround for (#443)

https://www.traviscistatus.com/incidents/kyf149kl6bvp issue)
main
Andrey Zhavoronkov 7 years ago committed by Nikita Manovich
parent 89464d5312
commit a5a9b0a019

@ -102,7 +102,7 @@ RUN if [ "$WITH_TESTS" = "yes" ]; then \
# Install and initialize CVAT, copy all necessary files
COPY cvat/requirements/ /tmp/requirements/
COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
RUN pip3 install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
RUN pip3 install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
# Install git application dependencies
RUN apt-get update && \

@ -5,6 +5,6 @@ services:
build:
args:
WITH_TESTS: "yes"
network: host
environment:
COVERALLS_REPO_TOKEN:
COVERALLS_REPO_TOKEN:

Loading…
Cancel
Save