lbry-sdk/scripts/Dockerfile.lbry_orchstr8

35 lines
714 B
Text
Raw Normal View History

2019-01-13 23:09:19 -05:00
FROM debian:buster-slim
2019-06-05 17:35:26 -04:00
ARG TORBA_VERSION=master
2019-01-13 23:09:19 -05:00
RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y --no-install-recommends \
build-essential \
git \
python3.7 \
python3.7-dev \
python3-pip && \
rm -rf /var/lib/apt/lists/*
RUN python3.7 -m pip install --upgrade pip setuptools wheel
COPY . /app
WORKDIR /app
2019-06-05 17:35:26 -04:00
RUN python3.7 -m pip install --user git+https://github.com/lbryio/torba.git@${TORBA_VERSION}#egg=torba
2019-01-13 23:09:19 -05:00
RUN python3.7 -m pip install -e .
# Orchstr8 API
EXPOSE 7954
# Wallet Server
EXPOSE 5280
# SPV Server
EXPOSE 50002
# blockchain
EXPOSE 9246
ENV TORBA_LEDGER lbrynet.wallet
2019-01-13 23:09:19 -05:00
RUN /usr/local/bin/orchstr8 download
ENTRYPOINT ["/usr/local/bin/orchstr8"]