Spaces:
Paused
Paused
fix docker
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -2,10 +2,12 @@ FROM node:latest
|
|
2 |
|
3 |
WORKDIR /usr/src/app/
|
4 |
|
5 |
-
RUN npm install typescript -g
|
6 |
|
7 |
RUN git clone -b feat/agent_chat_react https://github.com/huggingface/huggingface.js.git && \
|
8 |
-
cd huggingface.js
|
|
|
|
|
9 |
npm install && \
|
10 |
npm run build && \
|
11 |
npm link && \
|
|
|
2 |
|
3 |
WORKDIR /usr/src/app/
|
4 |
|
5 |
+
RUN npm install typescript pnpm -g
|
6 |
|
7 |
RUN git clone -b feat/agent_chat_react https://github.com/huggingface/huggingface.js.git && \
|
8 |
+
cd huggingface.js && \
|
9 |
+
pnpm install && \
|
10 |
+
cd js/packages/agents && \
|
11 |
npm install && \
|
12 |
npm run build && \
|
13 |
npm link && \
|