possible fix?

This commit is contained in:
2025-12-30 17:17:14 -05:00
parent 6178888246
commit 747f70534d
+3 -6
View File
@@ -1,14 +1,11 @@
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
WORKDIR /src WORKDIR /app
COPY . . COPY . .
RUN dotnet restore SharpbinV3.Server.csproj RUN dotnet restore SharpbinV3.Server.csproj
RUN dotnet publish SharpbinV3.Server.csproj -c Release -o /app RUN dotnet publish SharpbinV3.Server.csproj -c Release -o out
FROM mcr.microsoft.com/dotnet/aspnet:10.0 FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app WORKDIR /app
COPY --from=build /app/out .
COPY --from=build /app .
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["dotnet", "SharpbinV3.Server.dll"] ENTRYPOINT ["dotnet", "SharpbinV3.Server.dll"]