Slim down docker image using slimtoolkit/slim

Change-Id: I6b3d96d5bfc4f7e59e5f897d19717d4dcfcbddf2
2 files changed
tree: eed79639fc76128ad397d7cb3872df2902ed17a4
  1. ci/
  2. shiny/
  3. .gitignore
  4. .gitlab-ci-local-env
  5. .gitlab-ci.yml
  6. CorpusCompositionAnalyzer.Rproj
  7. Dockerfile
  8. Readme.md
Readme.md

Corpus Composition Analyzer (Prototype)

Prototype of a corpus composition analyzer for KorAP

Installation

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

Run

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 and test without Docker

Run shiny/app.R in RStudio or from the command line:

R -e "shiny::runApp('shiny/app.R')"