Hi 🥳, This repo is meant to allow anyone to deploy their own application. There's a github action pipeline that will do the following after each commit:
- Build a Dockerfile in the root of this repo
- Push the Docker image to a container registry
- Deploy the created image to a Kubernetes cluster
-
Clone this project
-
Create a new Dockerfile in the root directory
- The Dockerfile must expose port 80
- The name should be "Dockerfile", feel free to overwrite the existing one
-
Run the docker build before push to check if it builds correctly with the following commands:
docker build -t example-image . docker run -p 8080:80 example-image
-
Commit and push 🗿.