seperate docker-build compose

This commit is contained in:
2025-09-23 19:19:28 +02:00
parent 9693238eb0
commit b93b91d352
5 changed files with 108 additions and 119 deletions

18
compose.build.yml Normal file
View File

@@ -0,0 +1,18 @@
# compose.build.yml
services:
backend:
# Definiert, wie das Image gebaut wird
build:
context: ./backend
args:
- GIT_COMMIT_SHA=${GIT_COMMIT_SHA:-unknown}
- SENTRY_DSN=${SENTRY_DSN:-}
# Legt den Namen für das gebaute Image fest
image: ghcr.io/mrunknownde/utools-backend:latest
frontend:
# Definiert, wie das Image gebaut wird
build:
context: ./frontend
# Legt den Namen für das gebaute Image fest
image: ghcr.io/mrunknownde/utools-frontend:latest