From 01633e7a911f6d0c1338c6c69326adabbdcef707 Mon Sep 17 00:00:00 2001 From: msm1984 Date: Mon, 19 Aug 2024 09:15:20 +0330 Subject: [PATCH] fix: some change in migrate.Dockerfile --- migrate.Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/migrate.Dockerfile b/migrate.Dockerfile index 86a231c..2d4001d 100644 --- a/migrate.Dockerfile +++ b/migrate.Dockerfile @@ -4,15 +4,13 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build # Set the working directory inside the container WORKDIR /app -# Copy the project files into the container -COPY . . - -# Install the dotnet-ef tool globally RUN dotnet tool install --global dotnet-ef # Ensure the global tools are in the PATH ENV PATH="$PATH:/root/.dotnet/tools" +# Copy the project files into the container +COPY . . # Run the EF database update command directly