File size: 784 Bytes
335a33e
 
0ed41e8
6fda304
53f7836
 
 
6fda304
4569874
335a33e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
53f7836
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
FROM langgenius/dify-web:1.4.1

USER root

# 复制外部脚本文件到镜像
COPY entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.sh

# 配置环境变量
ENV NEXT_TELEMETRY_DISABLED=0 \
    TEXT_GENERATION_TIMEOUT_MS=60000 \
    ALLOW_EMBED=false \
    MARKETPLACE_API_URL=https://marketplace.dify.ai \
    MARKETPLACE_URL=https://marketplace.dify.ai \
    PM2_INSTANCES=2 \
    LOOP_NODE_MAX_COUNT=100 \
    MAX_TOOLS_NUM=10 \
    MAX_PARALLEL_LIMIT=10 \
    MAX_ITERATIONS_NUM=99 \
    ENABLE_WEBSITE_JINAREADER=true \
    ENABLE_WEBSITE_FIRECRAWL=true \
    ENABLE_WEBSITE_WATERCRAWL=true \
    CONSOLE_API_URL=https://yixian56-dify-api.hf.space \
    APP_API_URL=https://yixian56-dify-api.hf.space

EXPOSE 3000

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]