diff --git a/SoftPlc/Docker/arm/Dockerfile b/SoftPlc/Docker/arm/Dockerfile index d423abf..90dcc18 100644 --- a/SoftPlc/Docker/arm/Dockerfile +++ b/SoftPlc/Docker/arm/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app VOLUME /data ENV DATA_PATH=/data @@ -6,7 +6,7 @@ EXPOSE 102 EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY . . RUN dotnet restore "SoftPlc.csproj" diff --git a/SoftPlc/Docker/linux-x64/Dockerfile b/SoftPlc/Docker/linux-x64/Dockerfile index 7505bbc..c9dbf1a 100644 --- a/SoftPlc/Docker/linux-x64/Dockerfile +++ b/SoftPlc/Docker/linux-x64/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app VOLUME /data ENV DATA_PATH=/data @@ -6,7 +6,7 @@ EXPOSE 102 EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY . . RUN dotnet restore "SoftPlc.csproj" diff --git a/SoftPlc/Docker/windows/Dockerfile b/SoftPlc/Docker/windows/Dockerfile index b13254c..8f8ed1c 100644 --- a/SoftPlc/Docker/windows/Dockerfile +++ b/SoftPlc/Docker/windows/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base WORKDIR /app VOLUME C:\\data ENV DATA_PATH=C:\\data @@ -6,7 +6,7 @@ EXPOSE 102 EXPOSE 80 EXPOSE 443 -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src COPY . . RUN dotnet restore "SoftPlc.csproj" diff --git a/SoftPlc/SoftPlc.csproj b/SoftPlc/SoftPlc.csproj index 60fd15e..f0d9ac9 100644 --- a/SoftPlc/SoftPlc.csproj +++ b/SoftPlc/SoftPlc.csproj @@ -1,7 +1,7 @@  - net6.0 + net8.0 enable enable @@ -11,9 +11,9 @@ - - - + + +