Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
deeme
/
hf
like
0
Paused
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
hf
/
Dockerfile
deeme
Upload 4 files
4386e14
verified
8 months ago
raw
Copy download link
history
blame
contribute
delete
Safe
231 Bytes
FROM
node:
18
-alpine
WORKDIR
/app
# 安装依赖
COPY
package.json .
RUN
npm install --production
# 复制代码
COPY
. .
# 暴露端口
EXPOSE
8080
ENV
TZ=Asia/Shanghai
# 启动应用
CMD
[
"npm"
,
"start"
]