fix: use mirror.soroushasadi.com for base images in Dockerfile
CI/CD / CI · dotnet build (push) Successful in 23s
CI/CD / Deploy · drsousan (push) Successful in 42s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
soroush.asadi
2026-05-31 10:59:23 +03:30
parent deb37f6935
commit 56f1311b3b
+2 -2
View File
@@ -1,5 +1,5 @@
# ── Stage 1: Build ──────────────────────────────────────────────────────────── # ── Stage 1: Build ────────────────────────────────────────────────────────────
FROM 171.22.25.73:8087/dotnet/sdk:10.0 AS build FROM mirror.soroushasadi.com/dotnet/sdk:10.0 AS build
WORKDIR /src WORKDIR /src
# Restore dependencies first (layer-cache friendly) # Restore dependencies first (layer-cache friendly)
@@ -19,7 +19,7 @@ RUN dotnet publish DrSousan.Api.csproj \
--no-restore --no-restore
# ── Stage 2: Runtime ────────────────────────────────────────────────────────── # ── Stage 2: Runtime ──────────────────────────────────────────────────────────
FROM 171.22.25.73:8087/dotnet/aspnet:10.0 AS runtime FROM mirror.soroushasadi.com/dotnet/aspnet:10.0 AS runtime
WORKDIR /app WORKDIR /app
# Create directories for persistent volumes and set ownership # Create directories for persistent volumes and set ownership