A Dockerized Flask app displaying a user profile with CI/CD pipeline using GitHub Actions.
248
This repository contains a Dockerized Flask application that displays a user profile. It includes a CI/CD pipeline using GitHub Actions to automate the build and deployment process to Docker Hub.
The Profile Application is a demo project built with Flask. It demonstrates a basic user profile page with static content and is designed to showcase Dockerization and CI/CD practices.
To run this Dockerized Flask application, follow the steps below:
Pull the Docker image:
docker pull ajmalrasouli/profile-app:latest
Run the Docker container:
docker run -d -p 5000:5000 ajmalrasouli/profile-app:latest
This will start the Flask application and bind it to port 5000. You can access it at http://localhost:5000.
This repository uses GitHub Actions for continuous integration and deployment. The workflow is triggered on every push to the main branch and performs the following steps:
/project-directory
/static
image.png
profile.jpg
styles.css
/templates
index.html
.github
/workflows
deploy-to-dockerhub.yml
app.py
Dockerfile
requirements.txt
README.md
Content type
Image
Digest
sha256:538203843…
Size
49.7 MB
Last updated
over 2 years ago
docker pull ajmalrasouli/profile-app