Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
YunzaiBot
/
GT
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
GT
/
Dockerfile
YunzaiBot
Update Dockerfile
72abcbe
over 2 years ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
Safe
242 Bytes
# 使用Node.js基础镜像
FROM
node:
18
# 设置工作目录
WORKDIR
/app
# 将本地的所有文件复制到工作目录
COPY
. /app/
# 安装依赖
RUN
npm install
# 启动应用程序
CMD
[
"node"
,
"app.js"
]
# 暴露端口
EXPOSE
9888