janismurans commited on
Commit
dffadec
·
verified ·
1 Parent(s): dc9fd79

Create Dockerfile

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