gpt-code / Makefile
anonymous-authors's picture
Add Dockerfile
a5726e8
raw history blame
No virus
416 Bytes
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