fix: hapus --no-restore
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ RUN dotnet restore Presentation/ASPNET/ASPNET.csproj
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Build dan publish
|
# 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 ----
|
# ---- 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