2018-10-03 19:15:04 +02:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
EXPOSE 5279
|
|
|
|
VOLUME /storage
|
|
|
|
RUN apt-get update && apt-get -y install unzip ca-certificates
|
|
|
|
RUN mkdir /daemon
|
|
|
|
WORKDIR /daemon
|
2019-01-29 12:22:50 +01:00
|
|
|
COPY lbrynet ./
|
|
|
|
COPY conf/daemon_settings.yml ./
|
|
|
|
COPY conf/test_daemon_settings.yml ./
|
2018-10-03 19:15:04 +02:00
|
|
|
ENV LBRY_DATA_DIR /storage/data
|
|
|
|
ENV LBRY_LBRYUM_WALLET_DIR /storage/lbryum
|
|
|
|
ENV LBRY_DOWNLOAD_DIRECTORY /storage/download
|
|
|
|
ENV LBRY_API_HOST 0.0.0.0
|
|
|
|
COPY start.sh ./start.sh
|
2019-01-29 12:22:50 +01:00
|
|
|
RUN chmod a+x start.sh
|
2018-10-03 19:15:04 +02:00
|
|
|
CMD ["./start.sh"]
|