diff --git a/docker/Dockerfile b/docker/Dockerfile index 541857601..0e6552bff 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -43,7 +43,7 @@ RUN apt-get -qq update \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # "COPY" creates new image layers, so we cram all we can into one command -COPY --from=build /root/nim-beacon-chain/docker/run_in_docker.sh /root/nim-beacon-chain/build/beacon_node /usr/bin/ +COPY --from=build /root/nim-beacon-chain/build/beacon_node /usr/bin/ MAINTAINER Zahary Karadjov LABEL description="Nimbus installation that can act as an ETH2 network bootstrap node." @@ -51,5 +51,5 @@ LABEL description="Nimbus installation that can act as an ETH2 network bootstrap # TODO: This custom entry script is necessary only because we must clean up # temporary files left by previous executions of the Go daeamon. # We should be able to remove it once we have a native LibP2P impl. -ENTRYPOINT ["/usr/bin/run_in_docker.sh"] +ENTRYPOINT ["/usr/bin/beacon_node"] diff --git a/docker/run_in_docker.sh b/docker/run_in_docker.sh deleted file mode 100755 index df75b6a2a..000000000 --- a/docker/run_in_docker.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# TODO This script will no longer be necessary once we switch -# to the native LibP2P - -# Deal with previous execution of the deamon leaving behind -# socket files that prevent the deamon from launching again -# inside the container: -rm -rf /tmp/* - -beacon_node "$@" -