Commit 8a799721 authored by foobar's avatar foobar

move dockerfile and fix volume mount

parent 7fe7be28
......@@ -5,10 +5,7 @@ WIKIDATA="
(cd data/ && wget -c ${WIKIDATA})
echo "build docker container"
docker build -t wikicorpus --compress .
echo "build docker container"
CONTAINER_HASH=$(docker build -t wikicorpus -q .)
CONTAINER_HASH=$(docker build --compress -t wikicorpus -q docker/ )
echo "run this shitshow"
docker run --rm -it -v ./data:/data:ro --name wikicorpus ${CONTAINER_HASH}
docker run --rm -it -v "$(pwd)"/data:/data:ro --name wikicorpus ${CONTAINER_HASH}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment