Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 907 Bytes

README.md

File metadata and controls

64 lines (48 loc) · 907 Bytes

fasttext-language-detection

Fasttext language detection wrapped in Fastapi + Docker🐋

1. Go to project dir

git clone https://github.com/Jason-Oleana/fasttext-language-detection.git
cd fasttext-language-detection

2. Build

sudo docker-compose build

wait...

3. Run project

3.1 Run with logs in console
sudo docker-compose up
3.2 Run as process
sudo docker-compose up -d

4. Other Docker commands

4.1 Stop containers
sudo docker-compose down
4.2 Restart containers
sudo docker-compose restart
4.3 Remove image
sudo docker rmi [image-name]

or

sudo docker rmi -f [image-name]
4.4 Show Docker process
sudo docker ps
sudo docker-compose ps
4.5 Show Docker images
sudo docker images
sudo docker-compose images