Skip to content

Commit

Permalink
Merge pull request #35 from Project-Resilience/dash
Browse files Browse the repository at this point in the history
Minor tweaks to get app deployable
  • Loading branch information
danyoungday authored Aug 30, 2023
2 parents afd028b + 0dc2bb9 commit 336e842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ COPY . .
EXPOSE 4057

# Run main UI
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:4057", "app.app:server"]
ENTRYPOINT ["gunicorn", "-b", "0.0.0.0:4057", "--timeout", "45", "app.app:server"]
2 changes: 1 addition & 1 deletion demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ then the container can be run with:
```
docker run \
-v PATH_TO_PROJECT/mvp/demo/data/processed:/usr/local/cognizant/eluc/data/processed:ro \
-v PATH_TO_PROJECT/mvp/demo/predictors:/usr/local/congizant/eluc/predictors:ro \
-v PATH_TO_PROJECT/mvp/demo/predictors:/usr/local/cognizant/eluc/predictors:ro \
-p 8080:4057 eluc-demo
```
Note: This mounts your local directories to the docker container, different steps may have to be taken for different setups.

0 comments on commit 336e842

Please sign in to comment.