diff --git a/Server/Dockerfile b/Server/Dockerfile index 5d43d37..3ffa36b 100644 --- a/Server/Dockerfile +++ b/Server/Dockerfile @@ -1,12 +1,12 @@ FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0.400 AS build WORKDIR /src COPY ["Server/Server.csproj", "Server/"] RUN dotnet restore "Server/Server.csproj" COPY . . -WORKDIR "/src/Serer" +WORKDIR "/src/Server" RUN dotnet build "Server.csproj" -c Release -o /app/build FROM build AS publish