shima-n commited on
Commit
fffaa66
·
verified ·
1 Parent(s): 2f81786

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +11 -0
Dockerfile ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+ RUN apt-get update && apt-get install -y \
3
+ git git-lfs ffmpeg libsm6 libxext6 libgl1 && \
4
+ rm -rf /var/lib/apt/lists/*
5
+ WORKDIR /app
6
+ COPY requirements.txt .
7
+ RUN pip install --no-cache-dir -r requirements.txt
8
+ COPY . .
9
+ ENV GRADIO_SERVER_NAME=0.0.0.0
10
+ ENV PORT=7860
11
+ CMD ["python","app.py"]