|
|
|
REGISTRY_NAME=registry.runcible.io
|
|
|
|
FRONTEND_IMAGE_NAME=$(REGISTRY_NAME)/demo-helm-frontend
|
|
|
|
FRONTEND_IMAGE_VERSION=1.4.0-dev
|
|
|
|
API_IMAGE_NAME=$(REGISTRY_NAME)/demo-helm-api
|
|
|
|
API_IMAGE_VERSION=1.4.0-dev
|
|
|
|
|
|
|
|
push-app-image: build-app-image
|
|
|
|
docker push $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION)
|
|
|
|
|
|
|
|
build-app-image:
|
|
|
|
docker build -t $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION) ./app
|
|
|
|
|
|
|
|
push-api-image: build-api-image
|
|
|
|
docker push $(API_IMAGE_NAME):$(API_IMAGE_VERSION)
|
|
|
|
|
|
|
|
build-api-image:
|
|
|
|
docker build -t $(API_IMAGE_NAME):$(API_IMAGE_VERSION) ./api
|
|
|
|
|
|
|
|
update-API-deps:
|
|
|
|
pip-compile -o api/requirements.txt api/requirements.in
|
|
|
|
|
|
|
|
sync-virtualenv:
|
|
|
|
pip-sync dev_requirements.txt api/requirements.txt
|
|
|
|
|
|
|
|
check-images:
|
|
|
|
echo $(FRONTEND_IMAGE_NAME):$(FRONTEND_IMAGE_VERSION)
|
|
|
|
echo $(API_IMAGE_NAME):$(API_IMAGE_VERSION)
|