fix: specify project file in dotnet restore command for clarity
This commit is contained in:
@@ -9,7 +9,7 @@ RUN npm run build -- --output-path=dist/Web/browser
|
|||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS api-build
|
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS api-build
|
||||||
WORKDIR /app/api
|
WORKDIR /app/api
|
||||||
COPY Api/ ./
|
COPY Api/ ./
|
||||||
RUN dotnet restore
|
RUN dotnet restore Api.csproj
|
||||||
RUN dotnet publish Api.csproj -c Release -o /app/api/build
|
RUN dotnet publish Api.csproj -c Release -o /app/api/build
|
||||||
|
|
||||||
# Final runtime image
|
# Final runtime image
|
||||||
|
|||||||
Reference in New Issue
Block a user