Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
yuoop
/
gemini3
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
0f07b0d
gemini3
/
Dockerfile
yuoop
Update Dockerfile
e7c7356
verified
5 months ago
raw
Copy download link
history
blame
Safe
263 Bytes
FROM
python:
3.9
-slim
WORKDIR
/code
# 安装依赖
COPY
requirements.txt .
RUN
pip install --no-cache-dir -r requirements.txt
# 复制应用代码
COPY
. .
# 设置环境变量
ENV
PORT=
7860
# 暴露端口
EXPOSE
7860
# 启动命令
CMD
[
"python"
,
"app.py"
]