mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
12 lines
395 B
Docker
12 lines
395 B
Docker
FROM microsoft/dotnet:2.0.0-sdk
|
|
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 . ../.
|
|
|
|
ENTRYPOINT ["dotnet", "test"] |