ChevalierJoseph commited on
Commit
3a61bea
·
verified ·
1 Parent(s): 63aeb12

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +19 -0
Dockerfile ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ # Install system dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ fontforge \
6
+ && rm -rf /var/lib/apt/lists/*
7
+
8
+ # Install Python dependencies
9
+ COPY requirements.txt .
10
+ RUN pip install --no-cache-dir -r requirements.txt
11
+
12
+ # Copy the application code
13
+ COPY . .
14
+
15
+ # Set the working directory
16
+ WORKDIR /app
17
+
18
+ # Command to run the Gradio app
19
+ CMD ["python", "app.py"]