asv7j commited on
Commit
68b2f03
·
verified ·
1 Parent(s): 98b7d38

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ FROM libretranslate/libretranslate
2
+
3
+ RUN useradd -m -u 1000 user
4
+ USER user
5
+ ENV PATH="/home/user/.local/bin:$PATH"
6
+ EXPOSE 5000
7
+
8
+ CMD ["--load-only", "hi,en"]