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