hackergeek98 commited on
Commit
5ae42a2
·
verified ·
1 Parent(s): d5b1445

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -7,7 +7,13 @@ RUN apt-get update && apt-get install -y \
7
  build-essential
8
 
9
  WORKDIR /app
10
- COPY . .
 
 
 
 
11
  RUN pip install --no-cache-dir -r requirements.txt
12
 
 
 
13
  CMD ["python3", "app.py"]
 
7
  build-essential
8
 
9
  WORKDIR /app
10
+
11
+ # Upgrade pip first
12
+ RUN pip install --no-cache-dir --upgrade pip
13
+
14
+ COPY requirements.txt .
15
  RUN pip install --no-cache-dir -r requirements.txt
16
 
17
+ COPY . .
18
+
19
  CMD ["python3", "app.py"]