Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -12,13 +12,11 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
# Copy the requirements file
|
| 13 |
COPY requirements.txt .
|
| 14 |
|
| 15 |
-
# THE FINAL FIX:
|
| 16 |
# We upgrade pip/setuptools/wheel first, then install the core.
|
| 17 |
-
# We stop hard-pinning sub-dependencies to allow the resolver to work.
|
| 18 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
| 19 |
pip install --no-cache-dir -r requirements.txt
|
| 20 |
|
| 21 |
-
# Copy the rest of
|
| 22 |
COPY . .
|
| 23 |
|
| 24 |
# Expose port 8000
|
|
|
|
| 12 |
# Copy the requirements file
|
| 13 |
COPY requirements.txt .
|
| 14 |
|
|
|
|
| 15 |
# We upgrade pip/setuptools/wheel first, then install the core.
|
|
|
|
| 16 |
RUN pip install --no-cache-dir --upgrade pip setuptools wheel && \
|
| 17 |
pip install --no-cache-dir -r requirements.txt
|
| 18 |
|
| 19 |
+
# Copy the rest of the application code
|
| 20 |
COPY . .
|
| 21 |
|
| 22 |
# Expose port 8000
|