Skip to content

Commit

Permalink
fix: remove TARGETARCH from ef binary
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinnee committed Dec 6, 2023
1 parent 020e458 commit 72be07d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions infra/migrate.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ COPY --chown=dotnet "App/App.csproj" "App/"
RUN dotnet restore -a $TARGETARCH "App/App.csproj"
COPY --chown=dotnet . .
WORKDIR /app
RUN dotnet tool install -a $TARGETARCH --global dotnet-ef
RUN dotnet tool install --global dotnet-ef
ENV PATH="$PATH:/home/dotnet/.dotnet/tools"
ENV LANDSCAPE=lapras
RUN dotnet-ef migrations bundle -a $TARGETARCH --project ./App
RUN dotnet-ef migrations bundle --project ./App
CMD [ "./efbundle" ]

0 comments on commit 72be07d

Please sign in to comment.