Skip to content

Commit

Permalink
default runtime image for colorful output
Browse files Browse the repository at this point in the history
  • Loading branch information
gicastel committed Oct 5, 2022
1 parent d3b0142 commit 5fd3285
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions standalone.dockerfile
Original file line number Diff line number Diff line change
@@ -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/ .
Expand Down

0 comments on commit 5fd3285

Please sign in to comment.