Ultronprime commited on
Commit
b2eeb78
·
verified ·
1 Parent(s): 81badfc

Upload Dockerfile with huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.9-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install git
6
+ RUN apt-get update && apt-get install -y git
7
+
8
+ # Clone the repository
9
+ RUN git clone https://github.com/Daanworg/cloud-rag-webhook.git /app
10
+
11
+ # Install dependencies
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Expose the port the app runs on
15
+ EXPOSE 7860
16
+
17
+ # Set environment variables
18
+ ENV PORT=7860
19
+
20
+ # Command to run the app
21
+ CMD ["python", "app.py"]