Badhri-Prasath-D-R commited on
Commit
08e64e5
·
1 Parent(s): 92bf7ab
Files changed (2) hide show
  1. Dockerfile +21 -0
  2. README.md +19 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use a Python base image
2
+ FROM python:3.10-slim
3
+
4
+ # Set the working directory inside the container
5
+ WORKDIR /app
6
+
7
+ # Install system dependencies for SQLite
8
+ RUN apt-get update && apt-get install -y build-essential
9
+
10
+ # Copy and install Python requirements
11
+ COPY requirements.txt .
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Copy the rest of your backend code and your Database folder
15
+ COPY . .
16
+
17
+ # Set the port and run the app
18
+ ENV PORT=7860
19
+ EXPOSE 7860
20
+
21
+ CMD ["python", "main.py"]
README.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Crisis Truth API
3
+ emoji: 🛡️
4
+ colorFrom: red
5
+ colorTo: blue
6
+ sdk: docker
7
+ app_port: 7860
8
+ pinned: false
9
+ ---
10
+
11
+ # CrisisTruth Backend
12
+ FastAPI backend for AI-powered news verification.
13
+
14
+
15
+
16
+
17
+
18
+ # Escape_Da_Vinci_Hackathon
19
+ if u have pushed any code or made some modifications inform me in whatsapp i will look into it as soon as possible