build: 添加Dockerfile用于构建docker镜像
- 基于node:22-alpine构建docker镜像
This commit is contained in:
58
.dockerignore
Normal file
58
.dockerignore
Normal file
@ -0,0 +1,58 @@
|
||||
# ------------------------
|
||||
# Node / Package Manager
|
||||
# ------------------------
|
||||
node_modules
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
pnpm-debug.log*
|
||||
.pnpm-store
|
||||
|
||||
# Nuxt build outputs
|
||||
.output
|
||||
.nuxt
|
||||
dist
|
||||
.cache
|
||||
.unimport
|
||||
.h3
|
||||
.nitro
|
||||
**/.nitro
|
||||
|
||||
# Dev tools / OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
logs
|
||||
!.gitkeep
|
||||
|
||||
# Local env files (runtime env should be provided by Docker/K8s)
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
|
||||
# Git
|
||||
.git
|
||||
.gitignore
|
||||
.gitattributes
|
||||
|
||||
# Editor / IDE
|
||||
.vscode
|
||||
.idea
|
||||
*.swp
|
||||
*.swo
|
||||
|
||||
# Tests
|
||||
coverage
|
||||
*.lcov
|
||||
|
||||
# Docker
|
||||
Dockerfile*
|
||||
docker-compose.yml
|
||||
|
||||
# CI / Local build artifacts
|
||||
*.tgz
|
||||
*.zip
|
||||
*.tar
|
||||
*.mdx
|
||||
Reference in New Issue
Block a user