Spaces:
Runtime error
Runtime error
Rúben Almeida
commited on
Commit
·
221f4db
1
Parent(s):
4b9e103
COPY requirements was after pip install -r requirements. Fixed the order
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -10,12 +10,12 @@ RUN pip install --upgrade pip
|
|
| 10 |
|
| 11 |
RUN pip install -U setuptools wheel
|
| 12 |
|
|
|
|
|
|
|
|
|
|
| 13 |
# Install the dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
-
# Copy the requirements file into the container
|
| 17 |
-
COPY ./requirements.txt .
|
| 18 |
-
|
| 19 |
# Copy the rest of the application code into the container
|
| 20 |
COPY . .
|
| 21 |
|
|
|
|
| 10 |
|
| 11 |
RUN pip install -U setuptools wheel
|
| 12 |
|
| 13 |
+
# Copy the requirements file into the container
|
| 14 |
+
COPY requirements.txt .
|
| 15 |
+
|
| 16 |
# Install the dependencies
|
| 17 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
# Copy the rest of the application code into the container
|
| 20 |
COPY . .
|
| 21 |
|