MetiMiester commited on
Commit
d51bf30
·
verified ·
1 Parent(s): 44271c7

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a slim Python base
2
+ FROM python:3.10-slim
3
+
4
+ WORKDIR /app
5
+
6
+ # Copy all files into the container
7
+ COPY . .
8
+
9
+ # Install Python dependencies
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Expose Gradio port
13
+ EXPOSE 7860
14
+
15
+ # Launch the Gradio app
16
+ CMD ["python", "app.py"]