Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Attach nltk and HF caches to docker containers in CI (#49)
Browse files Browse the repository at this point in the history
* attach nltk and HF caches to Docker

* formatting
  • Loading branch information
epwalsh authored May 12, 2020
1 parent 96de66f commit 3c764c9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
DOCKER_TAG = latest
DOCKER_RUN_CMD = docker run --rm -v $$HOME/.allennlp:/root/.allennlp
DOCKER_RUN_CMD = docker run --rm \
-v $$HOME/.allennlp:/root/.allennlp \
-v $$HOME/.cache/torch:/root/.cache/torch \
-v $$HOME/nltk_data:/root/nltk_data

.PHONY : version
version :
Expand Down

0 comments on commit 3c764c9

Please sign in to comment.