Chirapath commited on
Commit
082c4f3
·
verified ·
1 Parent(s): 45eabb7

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +16 -0
Dockerfile ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a standard Hugging Face base image with Python 3.12
2
+ FROM huggingface/base-python:3.12
3
+
4
+ # Copy all your application files into the container's /app directory
5
+ WORKDIR /app
6
+ COPY . .
7
+
8
+ # Make the setup script executable
9
+ RUN chmod +x setup.sh
10
+
11
+ # Run the setup script to install all dependencies
12
+ # This happens only ONCE when the Space is being built.
13
+ RUN ./setup.sh
14
+
15
+ # This command runs your application every time the Space starts up
16
+ CMD ["python", "app.py"]