expose /datadir

This commit is contained in:
NicolasDorier
2017-09-29 13:52:53 +09:00
parent 669d54aab2
commit 6c200770b0

View File

@@ -9,5 +9,10 @@ RUN dotnet publish --output /app/ --configuration Release
FROM microsoft/aspnetcore:2.0.0
WORKDIR /app
RUN mkdir /datadir
ENV BTCPAY_DATADIR=/datadir
VOLUME /datadir
COPY --from=builder "/app" .
ENTRYPOINT ["dotnet", "BTCPayServer.dll"]