feat(build): add Docker support for gitks application

- Add .dockerignore file to exclude unnecessary files from Docker build context
- Create multi-stage Dockerfile with rust builder and debian runtime stages
- Configure environment variables for host and port settings
- Set up proper EXPOSE and ENTRYPOINT instructions
- Optimize build with cargo release and binary stripping
- Install only required dependencies in production stage
This commit is contained in:
zhenyi
2026-06-04 14:11:55 +08:00
parent f0a443932a
commit 4a87ea475d
2 changed files with 28 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
target
.git
.idea
*.md
LICENSE
.env