forked from piceaTech/node-gitlab-2-github
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (14 loc) · 475 Bytes
/
Makefile
File metadata and controls
17 lines (14 loc) · 475 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
CONTAINER_IMAGE ?= node-gitlab-2-github
CONTAINER_TAG ?= latest
LOCAL_PWD = $(shell pwd)
.PHONY: build-image
build-image: ##@docker Build the Docker image
docker build -t $(CONTAINER_IMAGE):$(CONTAINER_TAG) .
.PHONY: docker-run
docker-run:
docker run $(CONTAINER_IMAGE):$(CONTAINER_TAG)
.PHONY: docker-run-bind
docker-run-bind:
docker run \
--mount type=bind,source="$(LOCAL_PWD)/settings.ts",target="/app/settings.ts",readonly \
$(CONTAINER_IMAGE):$(CONTAINER_TAG)