- Replace Docker Compose setup with Kubernetes manifests for deployment - Simplify Dockerfile to use PHP's built-in server instead of nginx+supervisor - Add Makefile with build and deploy commands for local development - Update environment configuration for production deployment - Remove docker-specific configuration files (nginx.conf, supervisord.conf)
12 lines
288 B
Makefile
12 lines
288 B
Makefile
IMG := mkm-admin
|
|
|
|
build:
|
|
podman build -t $(IMG) .
|
|
|
|
deploy: build
|
|
@if [ ! -f .env ]; then cp .env.example .env; fi
|
|
kubectl create secret generic mkm-admin-env --from-env-file=.env --dry-run=client -o yaml | kubectl apply -f -
|
|
kubectl apply -f k8s/deployment.yaml
|
|
|
|
.PHONY: build deploy
|