Spaces:
Sleeping
Sleeping
whqtever
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -7,6 +7,7 @@ FROM base as build
|
|
7 |
RUN apt-get update -qq && \
|
8 |
apt-get install -y git curl unzip wget gnupg build-essential lsb-release
|
9 |
|
|
|
10 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
11 |
apt-get install -y nodejs
|
12 |
|
@@ -16,7 +17,7 @@ USER user
|
|
16 |
ENV HOME=/home/user \
|
17 |
PATH=/home/user/.local/bin:$PATH
|
18 |
|
19 |
-
|
20 |
RUN npm install --include=dev @huggingface/inference
|
21 |
RUN npm install --include=dev @huggingface/hub
|
22 |
|
|
|
7 |
RUN apt-get update -qq && \
|
8 |
apt-get install -y git curl unzip wget gnupg build-essential lsb-release
|
9 |
|
10 |
+
COPY . .
|
11 |
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && \
|
12 |
apt-get install -y nodejs
|
13 |
|
|
|
17 |
ENV HOME=/home/user \
|
18 |
PATH=/home/user/.local/bin:$PATH
|
19 |
|
20 |
+
|
21 |
RUN npm install --include=dev @huggingface/inference
|
22 |
RUN npm install --include=dev @huggingface/hub
|
23 |
|