Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
tianlong12
/
hfchat
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
f6190d4
hfchat
/
Dockerfile
tianlong12
Create Dockerfile
64e0a36
verified
about 1 year ago
raw
Copy download link
history
blame
Safe
293 Bytes
# 使用官方Python镜像作为基础镜像
FROM
python:
3.9
# 设置工作目录
WORKDIR
/app
# 复制项目文件到工作目录
COPY
. /app
# 安装项目依赖
RUN
pip install --no-cache-dir -r requirements.txt
# 暴露应用端口
EXPOSE
8000
# 启动应用
CMD
[
"python"
,
"app.py"
]