Skip to content

Dockerized version of (simplified) translator project 🐳

Notifications You must be signed in to change notification settings

Razwand/app_translator_with_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🐳Translator app using Docker and REST APIs 🐳

This repo contains dockerized version of the translator module used in Subtitle Translation Project. The goal is to build a simple app to translate text from English to Spanish, so this is a simplified version of the original project.

Requirements

  • Docker

Start docker container on a given port.

app_translator_with_docker>docker build image <img_name> .
app_translator_with_docker>docker run -d -p <port>:5000 --name <container_name> <img_name>

Call from console (APP USAGE)

app_translator_with_docker>curl -X POST localhost:<port>/translate -H "Content-Type:application/json" -d "{\"text\":\"This is just a test\"}"

About

Dockerized version of (simplified) translator project 🐳

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published