jcrissa commited on
Commit
074d428
·
verified ·
1 Parent(s): 4ae1695

Upload Dockerfile.txt

Browse files
Files changed (1) hide show
  1. Dockerfile.txt +20 -0
Dockerfile.txt ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official Python image from the Docker Hub
2
+ FROM python:3.10
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /app
6
+
7
+ # Copy the current directory contents into the container at /app
8
+ COPY . /app
9
+
10
+ # Make the setup.sh script executable
11
+ RUN chmod +x setup.sh
12
+
13
+ # Run the setup.sh script
14
+ RUN ./setup.sh
15
+
16
+ # Expose port 7860 (the default port for Gradio)
17
+ EXPOSE 7860
18
+
19
+ # Run the application
20
+ CMD ["python", "app.py"]