feat: add health checks for backend and frontend services in docker-compose.yml

This commit is contained in:
2025-12-30 22:00:20 -05:00
parent c4f606ecf2
commit 08c4be4f7e
3 changed files with 15 additions and 2 deletions
+2
View File
@@ -8,5 +8,7 @@ RUN dotnet publish SharpbinV3.Server.csproj -c Release -o /app/out
FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app
COPY --from=build /app/out .
RUN apt-get update && apt-get install -y wget && rm -rf /var/lib/apt/lists/*
ENV ASPNETCORE_URLS=http://+:8080
EXPOSE 8080
ENTRYPOINT ["dotnet", "SharpbinV3.Server.dll"]