Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 479 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 479 Bytes

docker-flask-boilerplate

Just how I like to start my docker/flask-projects.

  • Edit name ./code/backend/setup/setup.py
  • Setup required pip packages with ./code/backend/setup/requirements.txt
  • Add routes to ./code/backend/services/api/routes
# For dev env
docker-compose build
docker-compose run --rm --service-ports api bash
> python run.py

# Reach server at http://127.0.0.1:5000/
# Changes in requirements.txt or setup.py will require a new docker-compose build