แก้ ไฟล์ docker
This commit is contained in:
parent
8edfbc7466
commit
202099605a
8 changed files with 342 additions and 21 deletions
|
|
@ -7,8 +7,13 @@ EXPOSE 443
|
|||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj", "BMA.EHR.Placement.Service/"]
|
||||
RUN dotnet restore "BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj"
|
||||
|
||||
COPY ["BMA.EHR.Application.csproj", "./BMA.EHR.Application"]
|
||||
COPY ["BMA.EHR.Domain.csproj", "./BMA.EHR.Domain"]
|
||||
COPY ["BMA.EHR.Infrastructure.csproj", "./BMA.EHR.Infrastructure"]
|
||||
|
||||
COPY ["BMA.EHR.Placement.Service.csproj", "./BMA.EHR.Placement.Service"]
|
||||
RUN dotnet restore "./BMA.EHR.Placement.Service/BMA.EHR.Placement.Service.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/BMA.EHR.Placement.Service"
|
||||
RUN dotnet build "BMA.EHR.Placement.Service.csproj" -c Release -o /app/build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue