Spaces:
Running
Running
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 | |