Skip to content

Commit

Permalink
Add Docker instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
k-bx committed Mar 9, 2018
1 parent 3c58b6b commit bf820a8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
@@ -0,0 +1,7 @@
FROM ubuntu:16.04

RUN apt update
RUN apt install -y openjdk-8-jdk
ADD . /src
WORKDIR /src
RUN ./gradlew expand
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -74,6 +74,16 @@
* out/words_spell.txt - words valid for spelling
* out/lemmas.txt - list of unique lemmas

### Building under docker ###

```
sudo docker build -t brown-uk/dict_uk .
sudo docker run -d --name dict_uk brown-uk/dict_uk /bin/bash
sudo docker cp dict_uk:/src/out/ ./out
sudo chown -R $USER: ./out
```

### License ###

Дані словника доступні для використання згідно з умовами ліцензії "Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License" (http://creativecommons.org/licenses/by-nc-sa/4.0/)
Програмні засоби вільно розповсюджується за умов ліцензії GPL версії 3.
Expand Down

0 comments on commit bf820a8

Please sign in to comment.