Spaces:
Build error
Build error
burtenshaw commited on
Commit ·
24fb2c0
1
Parent(s): 421042b
fix dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
|
@@ -18,12 +18,9 @@ USER user
|
|
| 18 |
ENV HOME=/home/user \
|
| 19 |
PATH=/home/user/.local/bin:$PATH
|
| 20 |
|
| 21 |
-
# Install uv
|
| 22 |
-
RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
| 23 |
-
|
| 24 |
-
# Pre-install useful Python packages (using uv)
|
| 25 |
-
RUN uv pip install --system \
|
| 26 |
-
requests httpx numpy pandas
|
| 27 |
|
| 28 |
WORKDIR /app
|
| 29 |
COPY --chown=user . /app
|
|
|
|
| 18 |
ENV HOME=/home/user \
|
| 19 |
PATH=/home/user/.local/bin:$PATH
|
| 20 |
|
| 21 |
+
# Install uv and pre-install useful Python packages
|
| 22 |
+
RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
|
| 23 |
+
~/.local/bin/uv pip install --system requests httpx numpy pandas
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
WORKDIR /app
|
| 26 |
COPY --chown=user . /app
|