Trying the docker buildx using git repository.
Static mostly done. good progress on store
This commit is contained in:
35
Makefile
Normal file
35
Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
.PHONY: build-development
|
||||
build-development: ## Build the development docker image.
|
||||
docker compose -f docker/development/docker-compose.yml build
|
||||
|
||||
.PHONY: start-development
|
||||
start-development: ## Start the development docker container.
|
||||
docker compose -f docker/development/docker-compose.yml up -d
|
||||
|
||||
.PHONY: stop-development
|
||||
stop-development: ## Stop the development docker container.
|
||||
docker compose -f docker/development/docker-compose.yml down
|
||||
|
||||
.PHONY: build-staging
|
||||
build-staging: ## Build the staging docker image.
|
||||
docker compose -f docker/staging/docker-compose.yml build
|
||||
|
||||
.PHONY: start-staging
|
||||
start-staging: ## Start the staging docker container.
|
||||
docker compose -f docker/staging/docker-compose.yml up -d
|
||||
|
||||
.PHONY: stop-staging
|
||||
stop-staging: ## Stop the staging docker container.
|
||||
docker compose -f docker/staging/docker-compose.yml down
|
||||
|
||||
.PHONY: build-production
|
||||
build-production: ## Build the production docker image.
|
||||
docker build --network=host --file Dockerfile --tag kakawa:latest .
|
||||
|
||||
.PHONY: start-production
|
||||
start-production: ## Start the production docker container.
|
||||
docker compose -f docker/production/docker-compose.yml up -d
|
||||
|
||||
.PHONY: stop-production
|
||||
stop-production: ## Stop the production docker container.
|
||||
docker compose -f docker/production/docker-compose.yml down
|
||||
Reference in New Issue
Block a user