Spaces:
Runtime error
Runtime error
fix: adjusting docker
Browse files- 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 . .
|