A simple Flask application containerized with Docker β built for the HackWeek DevOps Challenge: Dockerizeee.
- Open a terminal in the project folder.
- Build the Docker image:
docker build -t flask-docker-app .
Run the container: docker run -d -p 5000:5000 flask-docker-app Open in browser: http://localhost:5000 You should see: Hello from Flask inside Docker!
- app.py β Flask application
- requirements.txt β Python dependencies
- Dockerfile β Docker instructions
- README.md β Project documentation
- β Dockerfile created
- β Container runs Flask app on port 5000
- β GitHub repo with working instructions
- β
Screenshot of app in browser + output of
docker ps