Helsinki-NLP / Opus-MT

Open neural machine translation models and web services
MIT License
613 stars 71 forks source link

Dockerize the system #1

Closed santhoshtr closed 5 years ago

santhoshtr commented 5 years ago
  1. Install all dependencies using Docker
  2. Install marian MT using Docker. So remove install folder. marian MT static binaries will be present at /usr/local/bin
  3. Remove swap set up in make. It should be managed by Docker later
  4. Remove gperftools - I don't see it used

Running docker-compose up will prepare a container with marian MT, all required packages and default Opus-MT services.

Running docker-compose run opus-mt bash will take user to the bash terminal in the container

TODO: Manage multiple language-pair installation and a single web api for abstract Marian MT websockets behind it