diff --git a/docker-compose.yml b/docker-compose.yml index 437bc95..a3917c9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,6 +12,7 @@ services: - ./flask_api:/app command: gunicorn -w 1 -b 0.0.0.0:8000 wsgi:server --timeout 200 #command: python wsgi.py + nginx: build: ./nginx container_name: nginx @@ -23,9 +24,7 @@ services: depends_on: - flask_api - - streamlit: build: ./streamlit container_name: streamlit @@ -34,5 +33,7 @@ services: - "8501:8501" volumes: - ./streamlit:/app + depends_on: + - flask_api command: streamlit run Introduction.py --global.disableWidgetStateDuplicationWarning true --server.port=8501 \ No newline at end of file diff --git a/flask_api/Dockerfile b/flask_api/Dockerfile index b0f0e54..36819af 100644 --- a/flask_api/Dockerfile +++ b/flask_api/Dockerfile @@ -7,8 +7,6 @@ RUN pip install jill --no-cache-dir RUN jill install 1.9.2 --confirm -RUN rm -rf ~/.julia - # Helpful Development Packages RUN julia -e 'using Pkg; Pkg.add(PackageSpec(;name = "PythonCall",version = "0.9.14"))'