fix: hapus --no-restore
This commit is contained in:
+1
-1
@@ -16,7 +16,7 @@ COPY Presentation/ASPNET/ASPNET.csproj Presentation/ASPNET/
|
|||||||
RUN dotnet restore Presentation/ASPNET/ASPNET.csproj
|
RUN dotnet restore Presentation/ASPNET/ASPNET.csproj
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish Presentation/ASPNET/ASPNET.csproj -c Release -o /app --no-restore
|
RUN dotnet publish Presentation/ASPNET/ASPNET.csproj -c Release -o /app
|
||||||
|
|
||||||
# ---- STAGE 2: RUN ----
|
# ---- STAGE 2: RUN ----
|
||||||
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
|
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
|
||||||
|
|||||||
Reference in New Issue
Block a user