-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
23 lines (18 loc) · 891 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DOCKER_IMAGE_VERSION=1.0.1-jupyter
install:
./mvnw clean install -f copycat-modules/interfaces/pom.xml 2> /dev/null && \
./mvnw clean install -f copycat-modules/document-preprocessing/pom.xml 2> /dev/null && \
./mvnw clean install -f copycat-modules/anserini-integration/pom.xml 2> /dev/null && \
./mvnw clean install -f copycat-spark/pom.xml 2> /dev/null && \
./mvnw clean install -f copycat-cli/pom.xml
build-docker-image:
docker build -f Dockerfile -t webis/chatnoir-copycat:${DOCKER_IMAGE_VERSION} .
publish-docker:
docker push webis/chatnoir-copycat:${DOCKER_IMAGE_VERSION}
jupyter-notebook:
docker run -ti --rm -p 8888:8888 \
-v ${PWD}:/workdir \
-v /mnt/ceph/storage/data-in-progress/data-research/web-search/:/mnt/ceph/storage/data-in-progress/data-research/web-search/ \
-w /workdir \
capreolus:0.2.5 \
jupyter notebook --no-browser --ip=0.0.0.0 --allow-root