Rhodham96 commited on
Commit
c8d76ce
·
1 Parent(s): 1aa69a7

changed Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,5 +1,5 @@
1
  # Use an official lightweight Python image
2
- FROM python:3.11-slim
3
 
4
  # Set working directory
5
  WORKDIR /app
@@ -10,10 +10,10 @@ WORKDIR /app
10
  # RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  # Install dependencies (add your actual dependencies here)
13
- RUN pip install --no-cache-dir streamlit genai pymupdf langchain
14
 
15
  # Copy the app code into the container
16
- COPY chat.py .
17
 
18
  # Expose Streamlit default port
19
  EXPOSE 7860
 
1
  # Use an official lightweight Python image
2
+ FROM python:3.11.6
3
 
4
  # Set working directory
5
  WORKDIR /app
 
10
  # RUN pip install --no-cache-dir -r requirements.txt
11
 
12
  # Install dependencies (add your actual dependencies here)
13
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  # Copy the app code into the container
16
+ COPY ..
17
 
18
  # Expose Streamlit default port
19
  EXPOSE 7860