Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
|
@@ -14,14 +14,11 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
| 14 |
# Add uv to PATH (uv installs under ~/.local/bin by default)
|
| 15 |
ENV PATH="/root/.local/bin:${PATH}"
|
| 16 |
|
| 17 |
-
|
| 18 |
-
|
| 19 |
COPY . .
|
| 20 |
|
| 21 |
-
WORKDIR /app/src
|
| 22 |
-
|
| 23 |
# Install dependencies with uv
|
| 24 |
-
RUN uv pip install .
|
| 25 |
|
| 26 |
EXPOSE 8501
|
| 27 |
|
|
|
|
| 14 |
# Add uv to PATH (uv installs under ~/.local/bin by default)
|
| 15 |
ENV PATH="/root/.local/bin:${PATH}"
|
| 16 |
|
| 17 |
+
COPY requirements.txt ./
|
|
|
|
| 18 |
COPY . .
|
| 19 |
|
|
|
|
|
|
|
| 20 |
# Install dependencies with uv
|
| 21 |
+
RUN uv pip install --system .
|
| 22 |
|
| 23 |
EXPOSE 8501
|
| 24 |
|