fix: prevent .env from being baked into mqtt_demo image; fix dangling requirements-bootstrap.txt path

This commit is contained in:
Marc Billow
2026-07-04 16:15:44 -05:00
parent aa9ec0f0d9
commit f573dddb14
2 changed files with 16 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
# Build context is the repo root (see mqtt_demo/docker-compose.yml's
# `context: ..`). The Dockerfile COPYs whole directories (protocol/,
# ocf/, mqtt_demo/), so anything under them that shouldn't land in the
# image has to be excluded here explicitly.
# Secrets — never bake these into the image. Mounted at runtime via
# the /config volume instead.
**/.env
certs/
# Local dev cruft.
**/__pycache__/
**/*.pyc
.git/
.venv/