2018-10-03 19:15:04 +02:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
EXPOSE 5279
|
|
|
|
VOLUME /storage
|
2019-03-25 18:04:31 +01:00
|
|
|
RUN apt-get update && apt-get -y install ca-certificates
|
2018-10-03 19:15:04 +02:00
|
|
|
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
|
2019-03-25 18:04:31 +01:00
|
|
|
ENV LBRY_API 0.0.0.0:5279
|
2018-10-03 19:15:04 +02:00
|
|
|
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"]
|