axebps commited on
Commit
3fec9e1
·
verified ·
1 Parent(s): ae98fe2

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM libretranslate/libretranslate
2
+
3
+ USER root
4
+ RUN mkdir -p /.local && chmod 777 /.local /app/db
5
+
6
+ ENV LT_HOST="0.0.0.0"
7
+ ENV LT_PORT="7860"
8
+ ENV LT_LOAD_ONLY="en,es,de,fr,ru,zh"
9
+
10
+ ENTRYPOINT ["/app/venv/bin/libretranslate"]