dify-web / Dockerfile
yixian56's picture
Update Dockerfile
53f7836 verified
raw
history blame contribute delete
784 Bytes
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"]