@@ -9,12 +9,12 @@ ENV EVENT_GRID_TOPIC_URL=${EVENT_GRID_TOPIC_URL}
99ENV EVENT_GRID_TOPIC_KEY=${EVENT_GRID_TOPIC_KEY}
1010
1111# Copy csproj files first (for layer caching)
12- COPY ./src/ServiceLayer.API /ServiceLayer.API .csproj ./ServiceLayer.API /
12+ COPY ./src/ServiceLayer.Mesh /ServiceLayer.Mesh .csproj ./ServiceLayer.Mesh /
1313# Restore dependencies
14- RUN dotnet restore ./ServiceLayer.API /ServiceLayer.API .csproj
14+ RUN dotnet restore ./ServiceLayer.Mesh /ServiceLayer.Mesh .csproj
1515
1616# Copy source files
17- COPY ./src/ServiceLayer.API / ./ServiceLayer.API /
17+ COPY ./src/ServiceLayer.Mesh / ./ServiceLayer.Mesh /
1818
1919# Install dotnet-ef to a local tools directory
2020RUN dotnet tool install dotnet-ef --tool-path /tools
@@ -25,16 +25,16 @@ ENV PATH="/tools:$PATH" \
2525 DOTNET_NOLOGO=true
2626
2727# Build the project
28- RUN dotnet build ./ServiceLayer.API /ServiceLayer.API .csproj
28+ RUN dotnet build ./ServiceLayer.Mesh /ServiceLayer.Mesh .csproj
2929
3030# Create the initial migration
31- RUN dotnet ef migrations add InitialMigration --project ./ServiceLayer.API / --output-dir Data/Migrations
31+ RUN dotnet ef migrations add InitialMigration --project ./ServiceLayer.Mesh / --output-dir Data/Migrations
3232
3333# Create directory for output SQL script
3434RUN mkdir -p /database
3535
3636# Generate the SQL migration script
37- RUN dotnet ef migrations script -o /database/migration.sql --project ./ServiceLayer.API /
37+ RUN dotnet ef migrations script -o /database/migration.sql --project ./ServiceLayer.Mesh /
3838
3939# Stage 2: Run migrations and seed data
4040FROM mcr.microsoft.com/mssql-tools:latest AS migration-env
0 commit comments