khalednabawi11 commited on
Commit
dd4b311
·
verified ·
1 Parent(s): f54c96f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -14,12 +14,12 @@ RUN apt-get update && apt-get install -y \
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  # Copy requirements file and install Python dependencies
17
- COPY requirements.txt .
18
- RUN pip install --no-cache-dir -r requirements.txt
19
 
20
  # Copy the application code
21
  COPY app /code/app
22
- COPY main.py .
23
 
24
  # Create models and cache directories and set correct permissions
25
  RUN mkdir -p /code/models/.cache/huggingface && \
 
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
  # Copy requirements file and install Python dependencies
17
+ COPY app/requirements.txt .
18
+ RUN pip install --no-cache-dir -r app/requirements.txt
19
 
20
  # Copy the application code
21
  COPY app /code/app
22
+ COPY app/main.py .
23
 
24
  # Create models and cache directories and set correct permissions
25
  RUN mkdir -p /code/models/.cache/huggingface && \