anithai commited on
Commit
482315c
·
verified ·
1 Parent(s): c1b4d70

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +14 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10-slim
2
+
3
+ # Install Java
4
+ RUN apt-get update && apt-get install -y openjdk-11-jdk
5
+
6
+ # Install required Python packages
7
+ RUN pip install gradio
8
+
9
+ # Copy all project files into the container
10
+ COPY . /app
11
+ WORKDIR /app
12
+
13
+ # Run Gradio app
14
+ CMD ["python", "app.py"]