Hydra-Bolt commited on
Commit
e3bfdcb
·
1 Parent(s): 3856f78
.dockerignore ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Virtual environment
2
+ env/
3
+ venv/
4
+ .venv/
5
+
6
+ # Python cache
7
+ __pycache__/
8
+ *.py[cod]
9
+ *$py.class
10
+ *.so
11
+
12
+ # Environment files
13
+ .env
14
+ test.env
15
+
16
+ # IDE files
17
+ .vscode/
18
+ .idea/
19
+ *.swp
20
+ *.swo
21
+
22
+ # OS files
23
+ .DS_Store
24
+ Thumbs.db
25
+
26
+ # Git
27
+ .git
28
+ .gitignore
29
+
30
+ # Documentation
31
+ *.md
32
+ development_*.md
33
+
34
+ # Cache
35
+ cache/
36
+
37
+ # Test files
38
+ test_*.py
39
+
40
+ # Other
41
+ *.log
42
+ *.pid
43
+ *.seed
44
+ *.pid.lock
45
+ .coverage
46
+ .nyc_output
Dockerfile CHANGED
@@ -1,14 +1,17 @@
1
  # Use the official Python 3.10.9 image
2
  FROM python:3.10.9
3
 
4
- # Copy the current directory contents into the container at .
5
- COPY . .
6
 
7
- # Set the working directory to /
8
- WORKDIR /
9
 
10
  # Install requirements.txt
11
- RUN pip install --no-cache-dir --upgrade -r /requirements.txt
 
 
 
12
 
13
  # Start the FastAPI app on port 7860, the default port expected by Spaces
14
- CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
1
  # Use the official Python 3.10.9 image
2
  FROM python:3.10.9
3
 
4
+ # Set the working directory
5
+ WORKDIR /app
6
 
7
+ # Copy requirements first for better layer caching
8
+ COPY requirements.txt .
9
 
10
  # Install requirements.txt
11
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
+
13
+ # Copy the application code
14
+ COPY . .
15
 
16
  # Start the FastAPI app on port 7860, the default port expected by Spaces
17
+ CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
app/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/app/__pycache__/__init__.cpython-310.pyc and b/app/__pycache__/__init__.cpython-310.pyc differ
 
app/__pycache__/main.cpython-310.pyc CHANGED
Binary files a/app/__pycache__/main.cpython-310.pyc and b/app/__pycache__/main.cpython-310.pyc differ
 
app/__pycache__/models.cpython-310.pyc CHANGED
Binary files a/app/__pycache__/models.cpython-310.pyc and b/app/__pycache__/models.cpython-310.pyc differ
 
app/services/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/app/services/__pycache__/__init__.cpython-310.pyc and b/app/services/__pycache__/__init__.cpython-310.pyc differ
 
app/services/__pycache__/cache_service.cpython-310.pyc CHANGED
Binary files a/app/services/__pycache__/cache_service.cpython-310.pyc and b/app/services/__pycache__/cache_service.cpython-310.pyc differ
 
app/services/__pycache__/linkedin_search.cpython-310.pyc CHANGED
Binary files a/app/services/__pycache__/linkedin_search.cpython-310.pyc and b/app/services/__pycache__/linkedin_search.cpython-310.pyc differ
 
app/services/__pycache__/outreach.cpython-310.pyc CHANGED
Binary files a/app/services/__pycache__/outreach.cpython-310.pyc and b/app/services/__pycache__/outreach.cpython-310.pyc differ
 
app/services/__pycache__/scoring.cpython-310.pyc CHANGED
Binary files a/app/services/__pycache__/scoring.cpython-310.pyc and b/app/services/__pycache__/scoring.cpython-310.pyc differ
 
app/utils/__pycache__/__init__.cpython-310.pyc CHANGED
Binary files a/app/utils/__pycache__/__init__.cpython-310.pyc and b/app/utils/__pycache__/__init__.cpython-310.pyc differ
 
app/utils/__pycache__/config.cpython-310.pyc CHANGED
Binary files a/app/utils/__pycache__/config.cpython-310.pyc and b/app/utils/__pycache__/config.cpython-310.pyc differ