Reverse CI for CheckIn & Leave

This commit is contained in:
Suchin Sapphasitthatha 2024-12-16 16:15:47 +07:00
parent 035395f5a5
commit 1afe331397
2 changed files with 8 additions and 20 deletions

View file

@ -40,10 +40,10 @@ COPY . ./
RUN dotnet restore
# คัดลอกไฟล์ทั้งหมดและ build
# COPY . ./
# RUN dotnet build -c Release -o /app/build
WORKDIR "/src/BMA.EHR.CheckInConsumer"
RUN dotnet build "BMA.EHR.CheckInConsumer.csproj" -c Release -o /app/build
COPY . ./
RUN dotnet build -c Release -o /app/build
# WORKDIR "/src/BMA.EHR.CheckInConsumer"
# RUN dotnet build "BMA.EHR.CheckInConsumer.csproj" -c Release -o /app/build
# ใช้ stage ใหม่สำหรับการ runtime
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime