- train.py
- app.py
- Dockerfile
- static/
- templates/
- Run the python script
python app.py
- Access http://127.0.0.1:8888
- Build the image
cd project
docker build -t project_name:v1 .
- Run the container
docker run -it -d -p 8888:8888 --restart=always project_name:v1
- Access http://127.0.0.1:8888