feature/user-authentication #2
2 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue