diff --git a/docker/Dockerfile.api b/docker/Dockerfile.api index 1eecedc..7d1b2bc 100644 --- a/docker/Dockerfile.api +++ b/docker/Dockerfile.api @@ -13,7 +13,7 @@ COPY src/Presentation/AygazPredictiveMaintenance.API/ ./src/Presentation/AygazPr RUN dotnet restore PredictiveMaintenance.sln RUN dotnet publish src/Presentation/AygazPredictiveMaintenance.API/PredictiveMaintenance.API.csproj -c Release -o /app/publish --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app COPY --from=build /app/publish . EXPOSE 8080 diff --git a/docker/Dockerfile.web b/docker/Dockerfile.web index 69fc83e..36dfa46 100644 --- a/docker/Dockerfile.web +++ b/docker/Dockerfile.web @@ -13,7 +13,7 @@ COPY src/Presentation/AygazPredictiveMaintenance.Web/ ./src/Presentation/AygazPr RUN dotnet restore PredictiveMaintenance.sln RUN dotnet publish src/Presentation/AygazPredictiveMaintenance.Web/PredictiveMaintenance.Web.csproj -c Release -o /app/publish --no-restore -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime WORKDIR /app COPY --from=build /app/publish . EXPOSE 8080