build(docker): add Dockerfile and .dockerignore for containerization
- Create multi-stage Dockerfile with cargo-chef optimization - Add .dockerignore to exclude unnecessary files from build context - Include protobuf compiler and development dependencies in builder stage - Set up proper user permissions and health check - Configure release build with strip for smaller image size - Add curl dependency for health check functionality
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Build artifacts
|
||||
target/
|
||||
|
||||
# IDE
|
||||
.idea/
|
||||
.codegraph/
|
||||
|
||||
# Git
|
||||
.git/
|
||||
.gitignore
|
||||
|
||||
# Documentation (not needed at build time)
|
||||
*.md
|
||||
!rpc.md
|
||||
|
||||
# Environment files
|
||||
.env
|
||||
.env.local
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
Reference in New Issue
Block a user