VikramSingh178 commited on
Commit
f9ed461
1 Parent(s): 44df8cb

chore: Update Dockerfile to use --no-cache-dir option for pip install

Browse files

Former-commit-id: adcfa0b5d882c405df6b68b2acfa4ea797fda607
Former-commit-id: 8b27ab3feb46960117fc6d9892ef0ca0f3a43f80

Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -8,7 +8,7 @@ WORKDIR /app
8
  COPY ../api/requirements.txt ./
9
 
10
  # Install dependencies specified in requirements.txt
11
- RUN pip install -r requirements.txt
12
 
13
  # Create a non-root user and set up the environment
14
  RUN useradd -m -u 1000 user
 
8
  COPY ../api/requirements.txt ./
9
 
10
  # Install dependencies specified in requirements.txt
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
 
13
  # Create a non-root user and set up the environment
14
  RUN useradd -m -u 1000 user