mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
8 lines
507 B
Plaintext
8 lines
507 B
Plaintext
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"]
|
|
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\""] |