File size: 416 Bytes
a5726e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
VERSION := 0.0.1
NAME := gpt-code
REPO := prophetikai

build: clean
	docker build -t ${REPO}/${NAME}:${VERSION} -t ${REPO}/${NAME}:latest .

run:
	docker run --rm -it -p 8888:8888 -p 6006:6006 --gpus all --mount type=bind,source=${PWD},target=/tf ${REPO}/${NAME}:${VERSION} && make -s clean

clean:
	sudo chown -R 1000:1000 .

push: build
	docker push ${REPO}/${NAME}:${VERSION} && docker push ${REPO}/${NAME}:latest