nsarrazin HF staff commited on
Commit
1532035
1 Parent(s): 85b8a2a

fix docker

Browse files
Files changed (1) hide show
  1. 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/packages/agents && \
 
 
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 && \