This project aims to develop a website for managing the light in the user's room.
├── app/
│ ├── __init__.py
│ ├── app.py
│ ├── light_utils.py
│ ├── models.py
│ └── routes.py
│
├── tests/
│ ├── __init__.py
│ ├── test_light_utils.py
│ └── test_routes.py
├── Dockerfile
├── mqtt_cilent.py
├── mqtt_config.yml
├── requirements.txt
└── run.py
Step 1:
docker build -t my-python-app .
Step 2:
docker run -p 5000:5000 my-python-app