e1250 commited on
Commit
0d7bfc4
·
1 Parent(s): c71724a

fix: adjusting docker

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -6,10 +6,11 @@ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
6
  # Working dir inside the container.
7
  WORKDIR /app
8
 
 
 
9
  # Copies req.txt from local machine into /app inside container.
10
  COPY requirements.txt .
11
-
12
- RUN pip install -r requirements.txt
13
 
14
  # Copy the rest of files into /app folder.
15
  COPY . .
 
6
  # Working dir inside the container.
7
  WORKDIR /app
8
 
9
+ RUN pip install --no-cache-dir --upgrade pip
10
+
11
  # Copies req.txt from local machine into /app inside container.
12
  COPY requirements.txt .
13
+ RUN pip install --no-cache-dir -r requirements.txt
 
14
 
15
  # Copy the rest of files into /app folder.
16
  COPY . .