aboutsummaryrefslogtreecommitdiff
path: root/code-host/Makefile
blob: 6badfbc6acd899cd3ce9d4db87cfccf9df451cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
IMAGE=docker.crute.me/code-host:latest

all:
	docker pull alpine:edge
	docker build -t $(IMAGE) .

all-no-cache:
	docker build --no-cache -t $(IMAGE) .

run:
	docker run -d \
		-p 9110:9000 \
		-p 9111:9001 \
		-v /srv/code:/srv/code \
		$(IMAGE)

publish:
	docker push $(IMAGE)