forked from LBRYCommunity/lbry-sdk
orchstr8 docker for lbry
This commit is contained in:
parent
2c1b54c76c
commit
9f9ec692c7
2 changed files with 39 additions and 0 deletions
7
.dockerignore
Normal file
7
.dockerignore
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.git
|
||||||
|
.tox
|
||||||
|
__pycache__
|
||||||
|
dist
|
||||||
|
lbrynet.egg-info
|
||||||
|
docs
|
||||||
|
tests
|
32
scripts/Dockerfile.lbry_orchstr8
Normal file
32
scripts/Dockerfile.lbry_orchstr8
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
FROM debian:buster-slim
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
RUN python3.7 -m pip install git+https://github.com/lbryio/torba.git#egg=torba
|
||||||
|
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.extras.wallet
|
||||||
|
|
||||||
|
RUN /usr/local/bin/orchstr8 download
|
||||||
|
ENTRYPOINT ["/usr/local/bin/orchstr8"]
|
Loading…
Reference in a new issue