liquid-rescale-api-v2/Makefile

20 lines
395 B
Makefile
Raw Normal View History

2023-07-13 14:00:09 +00:00
IMAGE_NAME = liquid-rescale-api
IMAGE_TAG = v0.1
REGISTY = ghcr.io/xzeldon
IMAGE = $(IMAGE_NAME):$(IMAGE_TAG)
PORT = 8321
build:
docker buildx build -t $(IMAGE) .
run:
docker run --name $(IMAGE_NAME) --init --rm -it -p $(PORT):8321 $(IMAGE)
run-prod:
docker compose -f docker-compose.override.yml up -d
tag:
docker tag $(IMAGE) $(REGISTY)/$(IMAGE)
push:
docker push $(REGISTY)/$(IMAGE)