KomaAl commited on
Commit
dc90148
·
verified ·
1 Parent(s): 262ef0c

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Install dependencies
4
+ COPY requirements.txt /tmp/requirements.txt
5
+ RUN pip install --no-cache-dir -r /tmp/requirements.txt
6
+
7
+ # Force correct Gradio version
8
+ RUN pip install --no-cache-dir --upgrade gradio==4.44.1
9
+
10
+ # Copy app code
11
+ COPY . /app
12
+ WORKDIR /app
13
+
14
+ # Expose Space port
15
+ ENV PORT=7860
16
+ CMD ["python", "app.py"]