stillerman commited on
Commit
7e0e952
·
1 Parent(s): be8fd75
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -35,8 +35,10 @@ RUN pip install -r requirements.txt
35
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
36
  COPY --chown=user . $HOME/app
37
 
38
- RUN npm install --force
39
- RUN npm run build
 
 
40
 
41
  RUN curl -L https://huggingface.co/HuggingFaceTB/simplewiki-pruned-text-350k/resolve/main/wikihop.db -o wikihop.db
42
 
 
35
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
36
  COPY --chown=user . $HOME/app
37
 
38
+ RUN npm install -g yarn
39
+
40
+ RUN yarn install
41
+ RUN yarn build
42
 
43
  RUN curl -L https://huggingface.co/HuggingFaceTB/simplewiki-pruned-text-350k/resolve/main/wikihop.db -o wikihop.db
44