Add exec flag to lbrynet binary

This commit is contained in:
Andrey Beletsky 2021-12-17 15:39:29 +07:00
parent 8c1e3dcc09
commit 405f774319
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
FROM ubuntu:18.04 FROM ubuntu:latest
EXPOSE 5279 5280 EXPOSE 5279 5280
VOLUME /storage VOLUME /storage
@ -12,5 +12,5 @@ COPY conf/regtest_daemon_settings.yml ./
COPY launcher.sh ./launcher.sh COPY launcher.sh ./launcher.sh
COPY scripts/probe.sh ./probe.sh COPY scripts/probe.sh ./probe.sh
RUN chmod +x ./*.sh RUN chmod +x lbrynet ./*.sh
CMD ["./launcher.sh"] CMD ["./launcher.sh"]

View file

@ -18,7 +18,7 @@ curl -OL $RELEASE_URL
unzip lbrynet-linux.zip unzip lbrynet-linux.zip
rm lbrynet-linux.zip rm lbrynet-linux.zip
docker build -t ${BASE_IMAGE_NAME}:${VERSION} . docker build -t ${BASE_IMAGE_NAME}:${VERSION} --platform linux/amd64 .
echo "Launching container for ${BASE_IMAGE_NAME}:${VERSION} and giving it ${WAIT}s to launch..." echo "Launching container for ${BASE_IMAGE_NAME}:${VERSION} and giving it ${WAIT}s to launch..."