From 0f20d216b63cd4fe14327186a1b1f3af4ee12e51 Mon Sep 17 00:00:00 2001 From: masoud Date: Sun, 7 Dec 2025 22:44:11 +0000 Subject: [PATCH] remove: Delete incorrect Dockerfile from root Workflow uses src/FrontOffice.Main/Dockerfile which is correct (nginx). Root Dockerfile was using wrong runtime (aspnet instead of nginx). --- Dockerfile | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 51f47cf..0000000 --- a/Dockerfile +++ /dev/null @@ -1,15 +0,0 @@ -FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build -WORKDIR /src -COPY src/*.sln ./ 2>/dev/null || true -COPY src/*/*.csproj ./ -RUN for file in *.csproj; do mkdir -p "${file%.*}" && mv "$file" "${file%.*}/"; done 2>/dev/null || true -RUN dotnet restore "FrontOffice/FrontOffice.csproj" || dotnet restore -COPY src/ ./ -RUN dotnet publish "FrontOffice/FrontOffice.csproj" -c Release -o /app/publish - -FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime -WORKDIR /app -COPY --from=build /app/publish . -ENV ASPNETCORE_URLS=http://+:8080 -EXPOSE 8080 -ENTRYPOINT ["dotnet", "FrontOffice.dll"]