summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md19
1 files changed, 17 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9550d1b..4f90d47 100644
--- a/README.md
+++ b/README.md
@@ -2,5 +2,20 @@
2 2
3This project is to create a "sad panda" api. 3This project is to create a "sad panda" api.
4 4
5- v1 will give you back a jpg of a sad panda from a list. 5- v1 will give you back a jpg of a sad panda at location: http://localhost:1901/v1/sad_panda01.png
6- v2 we are planning for a random "sad panda" image 6
7## Deployment
8
9### Dockerfile
10
11For your convenience there is [Dockerfile](./Dockerfile) located in this directory.
12You can start up this application assuming you have Docker installed via:
13
14```bash
15$ docker build -t sadpanda .
16$ docker run -it -p 1901:1901 --rm --name sadpanda sadpanda
17```
18
19This will give you a Docker container named sadpanda and start it on port `1901`.
20
21Go to: http://DOCKERHOST:1901/v1/sad_panda01.png to see the image.