Skip to content

Commit

Permalink
Setting the default architecture to amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Jan 12, 2024
1 parent 13c0992 commit faf3eb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RandomQuotes.Web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app
EXPOSE 8080

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG TARGETARCH
ARG TARGETARCH=linux/amd64
WORKDIR /src
COPY ["RandomQuotes.Web/RandomQuotes.Web.csproj", "RandomQuotes.Web/"]
RUN dotnet restore "RandomQuotes.Web/RandomQuotes.Web.csproj" -a $TARGETARCH
Expand Down

0 comments on commit faf3eb1

Please sign in to comment.