WanIrfan commited on
Commit
4a50b09
·
verified ·
1 Parent(s): 520ba33

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
- # Use Python 3.10 (Stable for LangChain & Flashrank)
2
- FROM python:3.10-slim
3
 
4
  # Set the working directory to /app
5
  WORKDIR /app
@@ -16,7 +16,7 @@ COPY requirements.txt .
16
  # --no-cache-dir keeps the image size smaller
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
- # Copy all your code (app_1.py, src/, templates/, api.py) into the container
20
  COPY . .
21
 
22
  # Create writable directories for the database and file uploads
 
1
+ # Use Python 3.11 (to match your local environment)
2
+ FROM python:3.11-slim
3
 
4
  # Set the working directory to /app
5
  WORKDIR /app
 
16
  # --no-cache-dir keeps the image size smaller
17
  RUN pip install --no-cache-dir -r requirements.txt
18
 
19
+ # Copy all your code (app_1.py, src/, templates/, etc.) into the container
20
  COPY . .
21
 
22
  # Create writable directories for the database and file uploads