emoji-captcha-api/Makefile

17 lines
337 B
Makefile
Raw Permalink Normal View History

2023-05-04 01:17:03 +00:00
IMAGE_NAME = emoji-captcha-api
IMAGE_TAG = latest
REGISTY = ghcr.io/xzeldon
IMAGE = $(IMAGE_NAME):$(IMAGE_TAG)
PORT = 8080
build:
docker buildx build -t $(IMAGE) .
run:
docker run --name $(IMAGE_NAME) --init --rm -it -p $(PORT):8080 $(IMAGE)
tag:
docker tag $(IMAGE) $(REGISTY)/$(IMAGE_NAME)
push:
docker push $(REGISTY)/$(IMAGE)