| commit | 6483a9b8234f2d2fa72399b1931d744c0fbcfae1 | [log] [tgz] | 
|---|---|---|
| author | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Nov 21 16:31:16 2023 +0100 | 
| committer | Marc Kupietz <kupietz@ids-mannheim.de> | Tue Nov 21 16:31:16 2023 +0100 | 
| tree | eed79639fc76128ad397d7cb3872df2902ed17a4 | |
| parent | 74e573b1bd565ec952bf314d5196e315d8232738 [diff] | 
Slim down docker image using slimtoolkit/slim Change-Id: I6b3d96d5bfc4f7e59e5f897d19717d4dcfcbddf2
Prototype of a corpus composition analyzer for KorAP
docker build -f Dockerfile -t korap/corpuscomposition:snapshot .
Or get the docker image from GitLab:
curl -L 'https://gitlab.ids-mannheim.de/KorAP/CorpusCompositionAnalyzer/-/jobs/artifacts/master/raw/corpuscomposition-snapshot.xz?job=build-docker-image' | unxz | docker load
docker run --rm -p 3838:3838 korap/corpuscomposition:snapshot
Then open http://localhost:3838/ for the default corpora or http://localhost:3838/?cq=<vc-definition-1>;<vc-definition-2>;<vc-definition-n> for comparing specific corpora.
Run shiny/app.R in RStudio or from the command line:
R -e "shiny::runApp('shiny/app.R')"