facets-dive / Makefile
cakiki's picture
fix Makefile
b6de7dc
raw
history blame contribute delete
411 Bytes
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