Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -10,12 +10,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 10 |
curl \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
-
# Copy only
|
| 14 |
-
COPY
|
| 15 |
|
| 16 |
# Install dependencies
|
| 17 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 18 |
-
pip install -
|
| 19 |
|
| 20 |
# Copy source code last
|
| 21 |
COPY . .
|
|
|
|
| 10 |
curl \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
+
# Copy only pyproject.toml
|
| 14 |
+
COPY pyproject.toml .
|
| 15 |
|
| 16 |
# Install dependencies
|
| 17 |
RUN pip install --upgrade pip setuptools wheel && \
|
| 18 |
+
pip install -e .
|
| 19 |
|
| 20 |
# Copy source code last
|
| 21 |
COPY . .
|