btcpayserver/BTCPayServer/DockerFile
2017-09-29 13:22:00 +09:00

13 lines
No EOL
367 B
Text

FROM microsoft/aspnetcore-build AS builder
WORKDIR /source
# caches restore result by copying csproj file separately
COPY *.csproj .
RUN dotnet restore
# copies the rest of your code
COPY . .
RUN dotnet publish --output /app/ --configuration Release
FROM microsoft/aspnetcore:2.0.0
WORKDIR /app
COPY --from=builder "/app" .
ENTRYPOINT ["dotnet", "BTCPayServer.dll"]