diff --git a/standalone.dockerfile b/standalone.dockerfile index ea44283..1ccbc16 100644 --- a/standalone.dockerfile +++ b/standalone.dockerfile @@ -1,14 +1,14 @@ -FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine as build +FROM mcr.microsoft.com/dotnet/sdk:6.0 as build LABEL org.opencontainers.image.source=https://github.com/geims83/qest COPY ./src ./src -RUN dotnet restore /src -r linux-musl-x64 +RUN dotnet restore /src -r linux-x64 -RUN dotnet publish /src/qest/ -o /output --runtime linux-musl-x64 -c Release --self-contained false --no-restore +RUN dotnet publish /src/qest/ -o /output --runtime linux-x64 -c Release --self-contained false --no-restore -FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine-amd64 +FROM mcr.microsoft.com/dotnet/runtime:6.0 WORKDIR /app COPY --from=build /output/ .