Forked from https://github.com/eXistenZNL/Docker-Webstack.
Dockerfile & config which I use for containerized PHP Lumen, PHP API/micro-framework by Laravel, based on Dockerfile-7.4 and deploy to GCP Cloud Run.
Deploy to GCP Cloud Run:
- Clone this repo
- Copy Dockerfile & config to your folder
gcloud run deploy
Deploy to local
- Clone this repo
- Copy Dockerfile & config to your folder
docker build -t {your-image-tag} .
docker run -d -p 8080:8080 --name {your-container-name} {your-image-tag}
- or with docker-compose:
docker-compose up -d