Add github action script and fixbug
This commit is contained in:
parent
f2dcf9bb49
commit
4c0ae730df
49 changed files with 6687 additions and 338 deletions
|
|
@ -7,10 +7,11 @@ EXPOSE 443
|
|||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
WORKDIR /src
|
||||
COPY ["BMA.EHR.Recruit.Service/BMA.EHR.Recruit.Service.csproj", "BMA.EHR.Recruit.Service/"]
|
||||
RUN dotnet restore "BMA.EHR.Recruit.Service/BMA.EHR.Recruit.Service.csproj"
|
||||
COPY ["nuget.config", "."]
|
||||
COPY ["BMA.EHR.Recruit.Service.csproj", "."]
|
||||
RUN dotnet restore "./BMA.EHR.Recruit.Service.csproj"
|
||||
COPY . .
|
||||
WORKDIR "/src/BMA.EHR.Recruit.Service"
|
||||
WORKDIR "/src/."
|
||||
RUN dotnet build "BMA.EHR.Recruit.Service.csproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue