From deb6550ede389b96242ea3319abd68410b8088bb Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Thu, 5 Mar 2026 10:56:45 -0600 Subject: [PATCH] fix: standardize stage naming in Dockerfile --- src/Blog/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Blog/Dockerfile b/src/Blog/Dockerfile index be8211b..0df78be 100644 --- a/src/Blog/Dockerfile +++ b/src/Blog/Dockerfile @@ -4,13 +4,13 @@ COPY *.csproj ./ RUN dotnet restore COPY . . -FROM setup-stage as development-stage +FROM setup-stage AS development-stage RUN apt-get update RUN apt-get install -y unzip RUN curl -sSL https://aka.ms/getvsdbgsh | /bin/sh /dev/stdin -v latest -l ~/vsdbg CMD ["dotnet", "watch"] -FROM setup-stage as build-stage +FROM setup-stage AS build-stage RUN dotnet publish -c Release -o dist FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS production-stage