whatq-ui commited on
Commit
d995e93
·
verified ·
1 Parent(s): a92cd53

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -3
Dockerfile CHANGED
@@ -1,3 +1,12 @@
1
- FROM ghcr.io/imputnet/cobalt:latest
2
- ENV API_AUTH_REQUIRED=0 CORS_WILDCARD=1
3
- ENV PORT=7860
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg && rm -rf /var/lib/apt/lists/*
4
+
5
+ WORKDIR /app
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+
9
+ COPY app.py .
10
+
11
+ EXPOSE 7860
12
+ CMD ["python", "app.py"]