update docker file to support low version npm package (#669)

### Type of change

- [x] Refactoring
This commit is contained in:
KevinHuSh
2024-05-08 10:40:38 +08:00
committed by GitHub
parent a553dc8dbd
commit d15ba37313
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ RUN /root/miniconda3/envs/py11/bin/pip install onnxruntime-gpu --extra-index-url
ADD ./web ./web
RUN cd ./web && npm i && npm run build
RUN cd ./web && npm i --force && npm run build
ADD ./api ./api
ADD ./conf ./conf