Antonio commited on
Commit
357c13c
1 Parent(s): 762ebf7

Added dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +17 -0
Dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.8-slim
2
+
3
+ RUN apt-get update && apt-get install -y ffmpeg
4
+
5
+ WORKDIR /app
6
+
7
+ COPY requirements.txt .
8
+
9
+ RUN pip install --no-cache-dir -r requirements.txt
10
+
11
+ COPY . .
12
+
13
+ ENV HF_HOME="/root/.cache/huggingface"
14
+
15
+ EXPOSE 7860
16
+
17
+ CMD ["python", "app.py"]