From c1c1297436b71caf9630c503e71e5e5c9dd257e5 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Thu, 10 Aug 2023 22:39:09 +0200 Subject: [PATCH] fix: Dockerfile image --- Server/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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