mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-03 00:26:40 +08:00
fix build
This commit is contained in:
parent
ffffc151eb
commit
7b80f23e39
@ -18,7 +18,7 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
COPY --from=deps /app/node_modules ./node_modules
|
COPY --from=deps /app/node_modules ./node_modules
|
||||||
# 避免下面那个报错
|
# 避免下面那个报错
|
||||||
RUN mkdir -p "/app/node_modules/tiktoken" && mkdir -p "/app/node_modules/sharp"
|
# RUN mkdir -p "/app/node_modules/tiktoken" && mkdir -p "/app/node_modules/sharp"
|
||||||
#RUN yarn add sharp
|
#RUN yarn add sharp
|
||||||
ENV NEXT_SHARP_PATH /app/node_modules/sharp
|
ENV NEXT_SHARP_PATH /app/node_modules/sharp
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
Loading…
Reference in New Issue
Block a user