This repo contains a minimal working example of a dockerized Flask-restplus API. It is meant to be used as a starting point for developing backend APIs.
-
Clone the repository
-
Make sure you have docker installed
-
Build the docker image:
docker build -t minimal_flask-restplus .- Run the image:
docker run -p 8399:8399 minimal_flask-restplus:latestwhere 8399 is the port to be exposed, in this case.
- Access the Swagger UI to interact with the API endpoints under
http://localhost:8399/, orhttp://< docker-machine ip >:8399/if you have the Docker Toolbox.