change docker file
This commit is contained in:
parent
449e31ba2a
commit
cdd1c296ff
1 changed files with 2 additions and 1 deletions
|
|
@ -35,7 +35,8 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
# คัดลอกไฟล์ .csproj และ restore dependencies
|
# คัดลอกไฟล์ .csproj และ restore dependencies
|
||||||
COPY *.csproj ./
|
# COPY *.csproj ./
|
||||||
|
COPY . ./
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
|
|
||||||
# คัดลอกไฟล์ทั้งหมดและ build
|
# คัดลอกไฟล์ทั้งหมดและ build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue