mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
fix build
This commit is contained in:
parent
7b80f23e39
commit
04d028634f
@ -18,7 +18,7 @@ WORKDIR /app
|
||||
COPY . .
|
||||
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
|
||||
ENV NEXT_SHARP_PATH /app/node_modules/sharp
|
||||
RUN yarn build
|
||||
|
Loading…
Reference in New Issue
Block a user