- Configure the environment
cd demo_project
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
pip install -e .- Run the webserver
flask run- Access the service at
localhost:5000/?query=hello
- Build the docker image
docker build -t demo-project -f Dockerfile .- Run a docker container
docker run --rm -p 5000:5000 demo-project- Access the service at
localhost:5000/?query=hello