diff --git a/src/Dockerfile b/src/Dockerfile index 1f2078c..e4fc8a9 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -8,15 +8,6 @@ COPY . . # Restore dependencies and build the application RUN dotnet build -c Release -o /app -# install ef tools -RUN dotnet tool install --global dotnet-ef --version 7.0.12 - -# ensure path set -ENV PATH="${PATH}:/root/.dotnet/tools" - -# ensure database is in sync with migrations -RUN dotnet ef database update --project /src/src/sodoff.csproj - # move mods and assets directors from sources to /app RUN mv src/mods /app && ln -s /app/mods src/ RUN mv src/assets /app && ln -s /app/assets src/