File size: 450 Bytes
541bb6f c4fa370 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
VERSION := 0.0.1
NAME := gpt-2-german
REPO := cakiki
build: clean
docker build -t ${REPO}/${NAME}:${VERSION} -t ${REPO}/${NAME}:latest .
run: build
docker run --rm -it -p 8888:8888 -p 6006:6006 --gpus all --env PYTHONPATH=/tf/src --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 |