Browse Source

Add basic instructions for running in a container.

Stefano Cossu 1 year ago
parent
commit
667f17a15b
1 changed files with 25 additions and 1 deletions
  1. 25 1
      README.md

+ 25 - 1
README.md

@@ -1 +1,25 @@
-# transliterator
+# transliterator
+
+REST API service to convert non-Latin scripts to Latin, and vice versa.
+
+## Run on Docker
+
+Build container in current dir:
+
+```
+docker build -t transliterator:latest .
+```
+
+Start container:
+
+```
+docker run -e TXL_FLASK_SECRET=changeme -p 8000:8000 transliterator:latest
+```
+
+Test service:
+
+```
+curl localhost:8000/health
+```
+
+TODO: API endpoints are stubs at the moment.