chore: update dockerfile to include directory build props
This commit is contained in:
1 parent
35f5ba2640
commit
276ee12e6d
1 file changed
+1
@@ -1,6 +1,7 @@
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS base
|
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY *.csproj ./
|
COPY *.csproj ./
|
||||||
|
COPY ../Directory.Build.props ./
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user