fix(infra): correct Dockerfile paths relative to build context

- Fix backend Dockerfile: COPY paths relative to GermanApp/ context
- Fix frontend Dockerfile: paths relative to german-app-frontend/ context

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Lasse Rune Hansen 2026-06-05 12:35:33 +02:00
parent 2c7678c6de
commit db87e09333
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,7 @@
# GermanApp Backend Dockerfile
# .NET 9.0 Web API Application
# Multi-stage build for production optimization
# Build context: GermanApp directory
# ============================================
# Build Stage
@ -9,12 +10,12 @@ FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src
# Copy project file and restore dependencies
COPY ["GermanApp/GermanApp.csproj", "GermanApp/"]
RUN dotnet restore "GermanApp/GermanApp.csproj"
COPY ["GermanApp.csproj", "."]
RUN dotnet restore "GermanApp.csproj"
# Copy everything else and build
COPY . .
WORKDIR "/src/GermanApp"
WORKDIR "/src"
RUN dotnet build "GermanApp.csproj" -c Release -o /app/build
# Publish the application

View file

@ -1,6 +1,7 @@
# GermanApp Frontend Dockerfile
# React 19 + TypeScript + Vite Application
# Multi-stage build for production optimization
# Build context: german-app-frontend directory
# ============================================
# Build Stage