You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
507 B

8 years ago
FROM microsoft/dotnet:2.0.0-sdk
RUN git clone https://github.com/btcpayserver/btcpayserver
RUN cd btcpayserver && dotnet restore && cd BTCPayServer && dotnet build -c Debug
EXPOSE 23001
WORKDIR /btcpayserver/BTCPayServer
ENTRYPOINT ["dotnet", "bin/Debug/netcoreapp2.0/BTCPayServer.dll"]
8 years ago
CMD ["--testnet", "--explorercookiefile=/.cookie", "--explorerurl=https://nbxplorer-testnet-public.azurewebsites.net/", "--bind=0.0.0.0", "--postgres=\"User ID=postgres;Host=postgres;Port=54320;Database=btcpayserver\""]