Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -18,6 +18,7 @@ RUN sed -i "s|^\s*prefix: '/v1/chat'|prefix: '/hf/v1/chat'|" src/api/routes/chat
|
|
18 |
ENV TZ=Asia/Shanghai
|
19 |
|
20 |
RUN yarn config set registry https://registry.npmmirror.com/ && \
|
|
|
21 |
yarn install && \
|
22 |
yarn run build
|
23 |
|
|
|
18 |
ENV TZ=Asia/Shanghai
|
19 |
|
20 |
RUN yarn config set registry https://registry.npmmirror.com/ && \
|
21 |
+
yarn add sharp --ignore-engines && \
|
22 |
yarn install && \
|
23 |
yarn run build
|
24 |
|