Spaces:
Build error
Build error
add missing huggingface_hub
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -3,8 +3,9 @@
|
|
3 |
FROM ubuntu:22.04
|
4 |
|
5 |
# Install Node.js 22 - https://github.com/nodesource/distributions?tab=readme-ov-file#installation-instructions-deb
|
|
|
6 |
RUN apt update \
|
7 |
-
&& apt install -y curl \
|
8 |
&& rm -rf /var/lib/apt/lists/*
|
9 |
|
10 |
RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh \
|
@@ -14,6 +15,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh \
|
|
14 |
&& rm -rf /var/lib/apt/lists/* \
|
15 |
&& rm nodesource_setup.sh
|
16 |
|
|
|
|
|
17 |
# Build the app
|
18 |
WORKDIR /tmp/app
|
19 |
COPY app/ ./
|
|
|
3 |
FROM ubuntu:22.04
|
4 |
|
5 |
# Install Node.js 22 - https://github.com/nodesource/distributions?tab=readme-ov-file#installation-instructions-deb
|
6 |
+
# And python3
|
7 |
RUN apt update \
|
8 |
+
&& apt install -y curl python3 python3-pip \
|
9 |
&& rm -rf /var/lib/apt/lists/*
|
10 |
|
11 |
RUN curl -fsSL https://deb.nodesource.com/setup_22.x -o nodesource_setup.sh \
|
|
|
15 |
&& rm -rf /var/lib/apt/lists/* \
|
16 |
&& rm nodesource_setup.sh
|
17 |
|
18 |
+
RUN pip install --upgrade "huggingface_hub[cli]"
|
19 |
+
|
20 |
# Build the app
|
21 |
WORKDIR /tmp/app
|
22 |
COPY app/ ./
|