exp: test dockerfile again

This commit is contained in:
Suchin Sapphasitthatha 2024-12-15 18:10:49 +07:00
parent 3e4299fb4c
commit ae3d705187

View file

@ -21,8 +21,10 @@ WORKDIR /src
# -- END: Old Build --
# -- BEGIN: Test New Build --
# คัดลอกไฟล์ .csproj และ restore dependencies
COPY . ./
COPY ["BMA.EHR.Domain/BMA.EHR.Domain.csproj", "BMA.EHR.Domain/"]
COPY ["BMA.EHR.Application/BMA.EHR.Application.csproj", "BMA.EHR.Application/"]
COPY ["BMA.EHR.Infrastructure/BMA.EHR.Infrastructure.csproj", "BMA.EHR.Infrastructure/"]
COPY ["BMA.EHR.Leave/BMA.EHR.Leave.csproj", "BMA.EHR.Leave/"]
RUN dotnet restore
# คัดลอกไฟล์ทั้งหมดและ build