This commit is contained in:
Eden Kirin
2024-01-11 14:25:28 +01:00
parent 516e17a8d8
commit bec5fc997e
4 changed files with 4976 additions and 1374 deletions

View File

@ -1,12 +1,14 @@
IMAGE_NAME=api-server-ms
CONTAINER_NAME=api-server-ms
build: clean
@docker build \
--progress=plain \
--tag $(IMAGE_NAME) \
.
build-multistage: clean
@docker build \
--progress=plain \
@ -14,6 +16,7 @@ build-multistage: clean
--file Dockerfile.multistage \
.
run:
@docker run \
--name $(IMAGE_NAME) \
@ -22,6 +25,7 @@ run:
--detach \
$(CONTAINER_NAME)
clean:
- @docker stop $(CONTAINER_NAME)
- @docker rm $(CONTAINER_NAME)