chartManD commited on
Commit
ab1db0e
·
1 Parent(s): b6d61de

Config Dockerfile actualiar pip, copiar primero requirements.txt

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -4,11 +4,13 @@ WORKDIR /app
4
 
5
  RUN ls
6
 
7
- COPY . .
8
 
9
  RUN ls
10
 
11
- RUN python -m pip install --no-cache-dir -r requirements.txt
 
 
12
 
13
  RUN python manege.py migrate
14
 
 
4
 
5
  RUN ls
6
 
7
+ COPY requirements.txt .
8
 
9
  RUN ls
10
 
11
+ RUN python -m pip install requirements.txt
12
+
13
+ COPY . .
14
 
15
  RUN python manege.py migrate
16