rohannsinghal commited on
Commit
8b4c51d
·
1 Parent(s): d308b4c

feat: Add configuration for Hugging Face deployment

Browse files
Files changed (2) hide show
  1. dockerfile +17 -0
  2. readme.md +9 -0
dockerfile ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use an official Python runtime as a parent image
2
+ FROM python:3.10-slim
3
+
4
+ # Set the working directory in the container
5
+ WORKDIR /code
6
+
7
+ # Copy the requirements file into the container
8
+ COPY ./requirements.txt /code/requirements.txt
9
+
10
+ # Install any needed packages specified in requirements.txt
11
+ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
+
13
+ # Copy your application code into the container
14
+ COPY ./app /code/app
15
+
16
+ # Command to run the application when the container launches
17
+ CMD ["uvicorn", "app.main_api:app", "--host", "0.0.0.0", "--port", "7860"]
readme.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: HackRx 6.0 RAG System
3
+ sdk: docker
4
+ app_port: 7860
5
+ ---
6
+
7
+ # HackRx 6.0 RAG Submission
8
+
9
+ This is the repository for my HackRx 6.0 project, a Retrieval-Augmented Generation system for policy documents.