From bb591ada9ac66afdcef12b7e1d16b7c0a15f9133 Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 14:07:19 +0300 Subject: [PATCH 1/7] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 828809e..2cf261d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,3 @@ - # Build stage FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /app @@ -17,7 +16,7 @@ WORKDIR /app ENV ASPNETCORE_URLS=http://+:5656 # Copy published app from build stage -COPY --from=build /app/out . +COPY --from=build /app/publish . # Expose port EXPOSE 5656 From 7ddc7886d91dddb58a72b4800b10111f2c0cbe94 Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 14:45:41 +0300 Subject: [PATCH 2/7] Update Dockerfile --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2cf261d..c988204 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,13 +13,14 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0 WORKDIR /app # Listen on all interfaces so Coolify can reach the app -ENV ASPNETCORE_URLS=http://+:5656 +# ENV ASPNETCORE_URLS=http://+:5656 # Copy published app from build stage COPY --from=build /app/publish . # Expose port -EXPOSE 5656 +EXPOSE 5000 +EXPOSE 5001 # Start the application ENTRYPOINT ["dotnet", "LibraryWeb.dll"] From 16d36719157d6a205afcd4fcfa73db9bc0f6251d Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 14:48:16 +0300 Subject: [PATCH 3/7] Update Dockerfile --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c988204..6cd8ea4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,7 @@ WORKDIR /app COPY --from=build /app/publish . # Expose port -EXPOSE 5000 -EXPOSE 5001 +# EXPOSE 8080 # Start the application ENTRYPOINT ["dotnet", "LibraryWeb.dll"] From 798a725fa979a07dd98d8e5184c96ab7ba9cdaf4 Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 15:37:31 +0300 Subject: [PATCH 4/7] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6cd8ea4..c4c1b35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ WORKDIR /app COPY . . RUN dotnet restore LibraryWeb.csproj -RUN dotnet publish -c Release -o /app/publish --no-restore +RUN dotnet publish LibraryWeb.csproj -c Release -o /app/publish --no-restore # Runtime stage FROM mcr.microsoft.com/dotnet/aspnet:10.0 From c89d440130f008a08c96c5bfc281024c363bad0e Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 15:51:33 +0300 Subject: [PATCH 5/7] Update Dockerfile --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index c4c1b35..9568d03 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,10 @@ # Build stage FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build + +# install curl so healthcheck can be run +RUN apt-get update +RUN apt-get install -y curl + WORKDIR /app COPY . . From a4a31eba83baa9ba3456544cb5ed67568c5eab6e Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 15:56:17 +0300 Subject: [PATCH 6/7] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9568d03..44878f7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,6 @@ # Build stage FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build -# install curl so healthcheck can be run -RUN apt-get update -RUN apt-get install -y curl - WORKDIR /app COPY . . @@ -15,6 +11,10 @@ RUN dotnet publish LibraryWeb.csproj -c Release -o /app/publish --no-restore # Runtime stage FROM mcr.microsoft.com/dotnet/aspnet:10.0 +# install curl so healthcheck can be run +RUN apt-get update +RUN apt-get install -y curl + WORKDIR /app # Listen on all interfaces so Coolify can reach the app From 2acf27a173cafc637ee691e14ee1b36ce7583c6e Mon Sep 17 00:00:00 2001 From: gbromov Date: Thu, 6 Aug 2026 15:59:53 +0300 Subject: [PATCH 7/7] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 44878f7..8732318 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ FROM mcr.microsoft.com/dotnet/aspnet:10.0 # install curl so healthcheck can be run RUN apt-get update -RUN apt-get install -y curl +RUN apt-get install -y curl wget WORKDIR /app