procfile #1

Merged
henrik merged 40 commits from procfile into master 2024-12-23 14:52:24 +00:00
Showing only changes of commit a816f99118 - Show all commits

View File

@@ -1,6 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
USER $APP_UID
WORKDIR /app
EXPOSE 8080
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release
@@ -12,10 +13,10 @@ COPY ["Pushy/Pushy/Pushy.csproj", "Pushy/Pushy/"]
COPY ["Pushy/Pushy.Client/Pushy.Client.csproj", "Pushy/Pushy.Client/"]
COPY ["Pushy.Silo/Pushy.Silo.csproj", "Pushy.Silo/"]
COPY .git .
RUN dotnet restore "Pushy.Silo/Pushy.Silo.csproj"
RUN dotnet restore "Pushy/Pushy/Pushy.csproj"
COPY . .
WORKDIR "/src/Pushy.Silo"
RUN dotnet build "Pushy.Silo.csproj" -c $BUILD_CONFIGURATION -o /app/silo