An open API service indexing awesome lists of open source software.

https://github.com/thatbeautifuldream/flask-demo

Demo Flask Server
https://github.com/thatbeautifuldream/flask-demo

docker-image

Last synced: 2 months ago
JSON representation

Demo Flask Server

Awesome Lists containing this project

README

          

# Flask Demo Application

- To run the application, run the following command:

```bash
docker container run -d -p 5000:5000 milindmishra/flask-demo:0.0.1.RELEASE
```

- To test the application, run the following command:

```bash
curl http://localhost:5000
```

- To stop the application, run the following command:

```bash
docker container stop
```

- To push the image to docker hub, run the following command:

```bash
docker image push milindmishra/flask-demo:0.0.1.RELEASE
```

- To pull the image from docker hub, run the following command:

```bash
docker image pull milindmishra/flask-demo:0.0.1.RELEASE
```

- To run the application with a different port, run the following command:

```bash
docker container run -d -p 5001:5000 milindmishra/flask-demo:0.0.1.RELEASE
```