Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyork817 committed Mar 31, 2024
1 parent 6f06221 commit fe6f409
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Presentation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["Presentation/Presentation.csproj", "Presentation/"]
COPY ["Infrastructure.DataAccess/Infrastructure.DataAccess.csproj", "Infrastructure.DataAccess/"]
COPY ["Domain/Domain.csproj", "Domain/"]
COPY ["Application/Application.Dto/Application.Dto.csproj", "Application/Application.Dto/"]
COPY ["Application/Application/Application.csproj", "Application/Application/"]
COPY ["Application.Abstractions/Application.Abstractions.csproj", "Application.Abstractions/"]
COPY ["Domain/Domain.csproj", "Domain/"]
COPY ["Application/Application.Contracts/Application.Contracts.csproj", "Application/Application.Contracts/"]
COPY ["Application/Application.Abstractions/Application.Abstractions.csproj", "Application/Application.Abstractions/"]
COPY ["Application/Application.Dto/Application.Dto.csproj", "Application/Application.Dto/"]
COPY ["Infrastructure.DataAccess/Infrastructure.DataAccess.csproj", "Infrastructure.DataAccess/"]
RUN dotnet restore "Presentation/Presentation.csproj"
RUN dotnet dev-certs https
COPY . .
WORKDIR "/src/Presentation"
RUN dotnet build "Presentation.csproj" -c $BUILD_CONFIGURATION -o /app/build
Expand Down

0 comments on commit fe6f409

Please sign in to comment.