From f4aeadc2b6339de170116dce94e8550bbcc3316f Mon Sep 17 00:00:00 2001 From: Damian <3819892+shoter@users.noreply.github.com> Date: Mon, 11 Mar 2024 20:38:33 +0100 Subject: [PATCH] feat: add domain (#162) * feat: add domain * chore: specific version of dotnet-ef --------- Co-authored-by: Damian Laczak --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b0a00701..e92493d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ COPY ./OpenttdDiscord.Database.Tests/OpenttdDiscord.Database.Tests.csproj ./Open COPY ./OpenttdDiscord.Discord/OpenttdDiscord.Discord.csproj ./OpenttdDiscord.Discord/OpenttdDiscord.Discord.csproj COPY ./OpenttdDiscord.DockerizedTesting/OpenttdDiscord.DockerizedTesting.csproj ./OpenttdDiscord.DockerizedTesting/OpenttdDiscord.DockerizedTesting.csproj COPY ./OpenttdDiscord.Domain/OpenttdDiscord.Domain.csproj ./OpenttdDiscord.Domain/OpenttdDiscord.Domain.csproj +COPY ./OpenttdDiscord.Domain.Tests/OpenttdDiscord.Domain.Tests.csproj ./OpenttdDiscord.Domain.Tests/OpenttdDiscord.Domain.Tests.csproj COPY ./OpenttdDiscord.Infrastructure/OpenttdDiscord.Infrastructure.csproj ./OpenttdDiscord.Infrastructure/OpenttdDiscord.Infrastructure.csproj COPY ./OpenttdDiscord.Infrastructure.Tests/OpenttdDiscord.Infrastructure.Tests.csproj ./OpenttdDiscord.Infrastructure.Tests/OpenttdDiscord.Infrastructure.Tests.csproj COPY ./OpenttdDiscord.Tests.Common/OpenttdDiscord.Tests.Common.csproj ./OpenttdDiscord.Tests.Common/OpenttdDiscord.Tests.Common.csproj @@ -29,7 +30,7 @@ RUN dotnet publish "/build/OpenttdDiscord.Database.Migrator/OpenttdDiscord.Datab FROM build as dbMigrations -RUN dotnet tool install --global dotnet-ef +RUN dotnet tool install --global dotnet-ef --version 7.0.16 ENV PATH="$PATH:/root/.dotnet/tools" WORKDIR /build/OpenttdDiscord.Database RUN dotnet ef migrations script -v -i -o /script.sql @@ -50,3 +51,4 @@ ENTRYPOINT ["bash", "-c", "./startup.sh"] +