docker配置修改 #2

Merged
zzx-coder merged 1 commits from zhouzexin_branch into master 2026-05-12 20:59:43 +08:00

1 Commits

Author SHA1 Message Date
zzx-coder 2bfbd34bfc optimize: improve Dockerfile with aliyun mirror and best practices
- Use aliyun mirror for node:18-alpine base image
- Add system dependencies for npm package compilation
- Optimize build caching with layered COPY
- Fix build command to remove incorrect locale parameter
- Add EXPOSE 3000 for container networking
- Add environment variables NODE_ENV and PORT
- Add healthcheck for container monitoring
- Improve workdir naming and structure
2026-05-12 20:59:07 +08:00