ND2API / Dockerfile
Rfym21's picture
Update Dockerfile
b9afbc7 verified
raw
history blame contribute delete
299 Bytes
# 使用指定的基础镜像
FROM fjiabinc/notdiamond2api
# 设置环境变量
ENV PORT=7860 \
AUTH_EMAIL=your_email@example.com \
AUTH_PASSWORD=your_password \
AUTH_ENABLED=true \
AUTH_TOKEN=your_token_here
# 暴露端口 7860
EXPOSE 7860
# 启动命令
CMD ["python", "app.py"]