AndreySokolov01 commited on
Commit
bc17671
1 Parent(s): 709adea

Create app.Dockerfile

Browse files
Files changed (1) hide show
  1. app.Dockerfile +14 -0
app.Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ COPY . /app
4
+ WORKDIR /app
5
+
6
+ RUN apt-get update && apt-get install -y \
7
+ ffmpeg \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ EXPOSE 7860
13
+
14
+ CMD ["python", "app.py"]