fix: use mirror.soroushasadi.com for base images in Dockerfile
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user