Use framework dependent build for ARM

This commit is contained in:
nicolas.dorier
2018-11-23 16:14:13 +09:00
parent 9911d18390
commit c8fcb0ab18
2 changed files with 5 additions and 12 deletions

View File

@@ -1,7 +1,6 @@
FROM microsoft/dotnet:2.1.500-sdk-alpine3.7 AS builder
WORKDIR /source
COPY BTCPayServer/BTCPayServer.csproj BTCPayServer.csproj
# Cache some dependencies
RUN dotnet restore
COPY BTCPayServer/. .
RUN dotnet publish --output /app/ --configuration Release