The application should be run with the docker file included
- Open the project root folder in your IDE of choice.
- Install dependencies in the
requirements.txt
in your virtual environment. - Ensure IDE is using created virtual environment.
- Open a terminal or command prompt in the directory and run the following command to build the Docker image
docker build -t docker-image-tag .
- use the command below to start a container using the docker image and sync the container with the development directory.
docker run -dp 5005:5000 -w /app -v "%cd%:/app" flask-smorest-api
Visit URL below for the live UI documentation and test API endpoints.