yyy / Dockerfile
gdtiti's picture
修改镜像地址
cab7113
raw
history blame contribute delete
438 Bytes
# 使用预构建镜像的 Hugging Face Spaces 部署
# ⚠️ 请将下面的镜像名称替换为你的实际镜像名称
#
# 如果是Docker Hub镜像: FROM your-username/your-image:tag
# 如果是私有仓库镜像: FROM your-registry.com/your-image:tag
#
FROM ghcr.io/gdtiti/aistudiobuildws:main
# 暴露HF Spaces标准端口
EXPOSE 7860
# 设置环境变量
ENV PORT=7860
ENV GRADIO_SERVER_NAME=0.0.0.0
ENV GRADIO_SERVER_PORT=7860