mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
16 lines
572 B
Docker
16 lines
572 B
Docker
FROM mcr.microsoft.com/dotnet/core/sdk:2.1.505-alpine3.7 AS builder
|
|
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT false
|
|
RUN apk add --no-cache icu-libs
|
|
ENV LC_ALL en_US.UTF-8
|
|
ENV LANG en_US.UTF-8
|
|
|
|
WORKDIR /source
|
|
COPY BTCPayServer/BTCPayServer.csproj BTCPayServer/BTCPayServer.csproj
|
|
COPY BTCPayServer.Tests/BTCPayServer.Tests.csproj BTCPayServer.Tests/BTCPayServer.Tests.csproj
|
|
RUN dotnet restore BTCPayServer.Tests/BTCPayServer.Tests.csproj
|
|
RUN apk add chromium-chromedriver
|
|
COPY . .
|
|
RUN dotnet build
|
|
WORKDIR /source/BTCPayServer.Tests
|
|
ENTRYPOINT ["./docker-entrypoint.sh"]
|