Hello, I'm Joseph Konka, Python enthousiast. Flask is a Python framework for building web application developing. In this project, I'm building a basic app with Flask and deploying it with Docker. I hope it will help you to understand the docker deployment. Bye !
python -m venv env
.\env\Scripts\activate.bat
pip install -r requirements.txt
python app.py
flask run --debug --host=0.0.0.0 --port=5000
flask --app app run --debug --host=0.0.0.0 --port=5000
docker build -f Dockerfile -t iflaskapp .
docker run -p 5000:5000 \
--restart=always \
--name cflaskapp \
-d iflaskapp