Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add domain #162

Merged
merged 2 commits into from
Mar 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -50,3 +51,4 @@ ENTRYPOINT ["bash", "-c", "./startup.sh"]




Loading