6aa61cc78f
添加 Dockerfile 用于构建和运行 Node.js 应用,同时添加 .dockerignore 文件排除不必要的文件和目录
25 lines
277 B
Plaintext
25 lines
277 B
Plaintext
# 依赖目录
|
|
node_modules/
|
|
|
|
# 编译产出目录
|
|
.output/
|
|
.nuxt/
|
|
|
|
# 环境变量文件(通常不应该被打包进去)
|
|
.env
|
|
.env.*
|
|
|
|
# Git 相关
|
|
.git/
|
|
.gitignore
|
|
|
|
# 系统相关
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# 日志
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|