diff --git a/backend/Dockerfile b/backend/Dockerfile index e69de29..b5358be 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -0,0 +1,6 @@ +FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +WORKDIR /src +COPY backend.csproj . +RUN dotnet restore +COPY . . +RUN dotnet publish -c release -o /app