diff --git a/Dockerfile b/Dockerfile index 2d6b3bb..5249fa0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM 10.0.1.123:5000/debian:12-slim AS build +FROM /debian:12-slim AS build WORKDIR /app # Separate layers here to avoid redoing dependencies on code change. @@ -10,7 +10,7 @@ RUN dotnet restore COPY . . RUN dotnet publish -r linux-musl-x64 -c Release -o out -FROM 10.0.1.123:5000/debian:12-slim AS runtime +FROM /debian:12-slim AS runtime WORKDIR /app COPY --from=build /app/out .