Spaces:
Running
Running
File size: 411 Bytes
0ffbac7 b6de7dc 0ffbac7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
VERSION := 0.0.1
NAME := facets-dive
REPO := cakiki
build:
docker build -f Dockerfile -t ${REPO}/${NAME}:${VERSION} -t ${REPO}/${NAME}:latest .
run: build
docker run --rm -it -p 8888:8888 --mount type=bind,source=${PWD},target=/home/jovyan/work --name ${NAME} --workdir=/home/jovyan/work ${REPO}/${NAME}:${VERSION}
push: build
docker push ${REPO}/${NAME}:${VERSION} && docker push ${REPO}/${NAME}:latest
|