btcpayserver/BTCPayServer.Tests/Dockerfile

13 lines
412 B
Text
Raw Normal View History

2018-05-08 18:09:12 +09:00
FROM microsoft/dotnet:2.1.300-rc1-sdk-alpine3.7
WORKDIR /app
# caches restore result by copying csproj file separately
COPY BTCPayServer.Tests/BTCPayServer.Tests.csproj BTCPayServer.Tests/BTCPayServer.Tests.csproj
COPY BTCPayServer/BTCPayServer.csproj BTCPayServer/BTCPayServer.csproj
WORKDIR /app/BTCPayServer.Tests
RUN dotnet restore
# copies the rest of your code
COPY . ../.
2018-04-07 02:23:12 +09:00
ENTRYPOINT ["dotnet", "test"]