Cristobal299 commited on
Commit
de29ff2
·
verified ·
1 Parent(s): 7f42b00

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ # Install system dependencies (none required for this app)
4
+ # If you need ffmpeg or other binaries, uncomment the next line
5
+ # RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/*
6
+
7
+ # Set working directory
8
+ WORKDIR /app
9
+
10
+ # Copy application files
11
+ COPY . /app
12
+
13
+ # Install Python dependencies
14
+ RUN pip install --no-cache-dir -r requirements.txt
15
+
16
+ # Expose the default Gradio port
17
+ EXPOSE 7860
18
+
19
+ # Run the app
20
+ CMD ["python", "app.py"]