Skip to content

Commit

Permalink
Fix linux-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit committed May 30, 2024
1 parent 506676c commit e3e1c2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0.301-noble@sha256:e6982f8da3f29407d73d737af120bff652658c6c985ccf63e62f12ce49127cc7 as builder
WORKDIR /app
COPY my-sample-app.csproj .
RUN dotnet restore my-sample-app.csproj
RUN dotnet restore my-sample-app.csproj \
-r linux-x64
COPY . .
RUN dotnet publish my-sample-app.csproj
RUN dotnet publish my-sample-app.csproj \
-r linux-x64 \
-c release \
-o /my-sample-app \
--no-restore \
Expand Down

0 comments on commit e3e1c2a

Please sign in to comment.