anithai commited on
Commit
9adb61e
·
verified ·
1 Parent(s): 0149d28

Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -0
Dockerfile ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use OpenJDK for Java Support
2
+ FROM openjdk:17-jdk-slim
3
+
4
+ # Set the working directory
5
+ WORKDIR /app
6
+
7
+ # Copy all project files
8
+ COPY . /app
9
+
10
+ # Extract the jar file inside the lib folder
11
+ RUN unzip /app/lib.zip -d /app/lib
12
+
13
+ # Install Gradio and dependencies
14
+ RUN pip install gradio
15
+
16
+ # Expose port for Gradio
17
+ EXPOSE 7860
18
+
19
+ # Run the Gradio interface
20
+ CMD ["python", "app.py"]