Refactor Dockerfile for multi-stage build and runtime optimization
- Implemented a two-stage Dockerfile: build environment with Python dependencies and lean runtime stage with HAProxy. - Added custom entrypoint script for dynamic Docker group adjustment. - Improved HAProxy command generation by introducing a static method for binary resolution. - Updated tests and functional logic to dynamically resolve the `haproxy` binary path. - Adjusted file permissions in E2E key generation script for better security. - Streamlined `.gitignore` by removing unnecessary exclusions.
This commit is contained in:
parent
bfd38adea5
commit
44cb3dd5e0
7 changed files with 65 additions and 77 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -12,8 +12,6 @@ __pycache__
|
|||
|
||||
# Build artifacts
|
||||
dist/
|
||||
build/
|
||||
!build/assets/
|
||||
*.egg-info/
|
||||
|
||||
/tests_e2e/static/conf/config.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue