admin08077 commited on
Commit
d2a7537
1 Parent(s): 62c90cb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -17,11 +17,13 @@ RUN apt-get update && apt-get install -y \
17
  # Set the working directory
18
  WORKDIR /app
19
 
20
- # Copy the requirements file and install dependencies
21
- COPY requirements.txt .
 
 
22
  RUN pip install --no-cache-dir -r requirements.txt
23
 
24
- # Copy the application code
25
  COPY . .
26
 
27
  # Expose the port
 
17
  # Set the working directory
18
  WORKDIR /app
19
 
20
+ # Copy only necessary files
21
+ COPY requirements.txt ./
22
+
23
+ # Install Python dependencies
24
  RUN pip install --no-cache-dir -r requirements.txt
25
 
26
+ # Copy the rest of the application code
27
  COPY . .
28
 
29
  # Expose the port