Download Dockerfile from 99i/dy: direct link, hf CLI and curl.
- Browser
- Download file 225 Bytes
-
https://huggingface.co/spaces/99i/dy/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/99i/dy/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/99i/dy/resolve/main/Dockerfile
225 Bytes
| FROM henrybit/dify-api:0.15.0 | |
| ENV OPENDAL_SCHEME=fs | |
| ENV OPENDAL_ROOT=storage | |
| # 确保创建存储目录 | |
| RUN mkdir -p storage && chmod -R 777 storage | |
| # 从.env文件加载环境变量 | |
| COPY .env .env | |
| ENV $(cat .env | xargs) | |