Enoch1359 commited on
Commit
86ef62d
·
verified ·
1 Parent(s): e3c3710

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -8,6 +8,8 @@ COPY . .
8
 
9
  # Install dependencies from the requirements file without using cache to reduce image size
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
11
 
12
  # Define the command to start the application using Gunicorn with 4 worker processes
13
  # - `-w 4`: Uses 4 worker processes for handling requests
 
8
 
9
  # Install dependencies from the requirements file without using cache to reduce image size
10
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
11
+ apt-get clean && \
12
+ rm -rf /var/lib/apt/lists/*
13
 
14
  # Define the command to start the application using Gunicorn with 4 worker processes
15
  # - `-w 4`: Uses 4 worker processes for handling requests