-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from jameeters/docker-readme
Docker readme
- Loading branch information
Showing
1 changed file
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
# active-flood-viz | ||
# active-flood-viz | ||
|
||
### Docker Instructions | ||
|
||
Currently, our dockerfile creates an image for a container that runs the basic flask app. | ||
|
||
**To build the image:** | ||
1. Navigate to your project directory. | ||
1. Copy `DOIRootCA2.cer` into this directory. | ||
1. Run `docker build -t flood .`. This will create the docker image and name it `flood`. | ||
|
||
**To run a container based on the image:** | ||
1. `docker run -p 5055:5050 --name floodviz flood`. This will create a docker container from the `flood` image and name it `floodviz`. | ||
|
||
Once this is done, [127.0.0.1:5055/home](http://127.0.0.1:5055) should take you to the example page. |