Fix Dockerfile CMD/entrypoint

This PR fixes an issue with the entrypoint/CMD usage in the Dockerfile, both fixing an issue that would cause the container to not start, and allowing passing different flags to override.
master
Seth For Privacy 3 years ago committed by GitHub
parent ac9dc2c511
commit 4c32276053
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -93,7 +93,7 @@ VOLUME /home/monero/.bitmonero
# Expose default explorer http port
EXPOSE 8081
ENTRYPOINT ["/bin/sh", "-c", "./xmrblocks"]
ENTRYPOINT ["/bin/sh", "-c"]
# Set sane defaults that are overridden if the user passes any commands
CMD ["--enable-json-api", "--enable-autorefresh-option", "--enable-emission-monitor", "--enable-pusher"]
CMD ["./xmrblocks --enable-json-api --enable-autorefresh-option --enable-emission-monitor --enable-pusher"]

Loading…
Cancel
Save