fix: hapus --no-restore

This commit is contained in:
2026-07-21 18:32:16 +07:00
parent 5c20bb8a9e
commit 67728a3341
+1 -1
View File
@@ -22,7 +22,7 @@ RUN dotnet restore Presentation/ASPNET/ASPNET.csproj
COPY . .
# Build dan publish
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 ----
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime