Update Dockerfile
This commit is contained in:
@@ -5,7 +5,7 @@ WORKDIR /app
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN dotnet restore LibraryWeb.csproj
|
RUN dotnet restore LibraryWeb.csproj
|
||||||
RUN dotnet publish -c Release -o /app/publish --no-restore
|
RUN dotnet publish LibraryWeb.csproj -c Release -o /app/publish --no-restore
|
||||||
|
|
||||||
# Runtime stage
|
# Runtime stage
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||||
|
|||||||
Reference in New Issue
Block a user