chore: migrate the docker build context to the root of the repository

This commit is contained in:
Stevan Freeborn
2026-06-28 14:55:11 -05:00
parent 73b136064a
commit 45f7c128e6
5 changed files with 39 additions and 37 deletions
+7
View File
@@ -234,6 +234,13 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0
# ... runtime setup ...
```
Images are built with the **repository root** as Docker build context so solution-wide configuration (including root-level analyzer/editorconfig rules) is available during build:
```bash
docker build -f src/StevesBot.Worker.Dockerfile -t steves-bot:worker .
docker build -f src/StevesBot.Webhook.Dockerfile -t steves-bot:webhook .
```
### Configuration for Production
Use environment variables or configuration providers for production secrets.