fast72 commited on
Commit
c17f8ce
·
verified ·
1 Parent(s): 8cd4a7e

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y ffmpeg curl build-essential git && \
5
+ rm -rf /var/lib/apt/lists/*
6
+
7
+ WORKDIR /app
8
+
9
+ COPY requirements.txt .
10
+
11
+ RUN pip install --upgrade pip setuptools wheel && \
12
+ pip install --no-cache-dir -r requirements.txt
13
+
14
+ COPY . .
15
+
16
+ EXPOSE 8000
17
+
18
+ CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]