mirror of
https://github.com/ACINQ/eclair.git
synced 2025-01-19 13:43:43 +01:00
Fix Docker JAVA_OPTS expansion (#1561)
This commit is contained in:
parent
4b55d3e71c
commit
3e3397cfb1
@ -55,7 +55,7 @@ RUN chmod +x eclair-cli && mv eclair-cli /sbin/eclair-cli
|
||||
|
||||
# we only need the eclair-node.zip to run
|
||||
COPY --from=BUILD /usr/src/eclair-node/target/eclair-node-*.zip ./eclair-node.zip
|
||||
RUN unzip eclair-node.zip && mv eclair-node-* eclair-node
|
||||
RUN unzip eclair-node.zip && mv eclair-node-* eclair-node && chmod +x eclair-node/bin/eclair-node.sh
|
||||
|
||||
ENV ECLAIR_DATADIR=/data
|
||||
ENV JAVA_OPTS=
|
||||
@ -63,4 +63,4 @@ ENV JAVA_OPTS=
|
||||
RUN mkdir -p "$ECLAIR_DATADIR"
|
||||
VOLUME [ "/data" ]
|
||||
|
||||
ENTRYPOINT $JAVA_OPTS bash eclair-node/bin/eclair-node.sh -Declair.datadir=$ECLAIR_DATADIR
|
||||
ENTRYPOINT JAVA_OPTS="${JAVA_OPTS}" eclair-node/bin/eclair-node.sh "-Declair.datadir=${ECLAIR_DATADIR}"
|
||||
|
Loading…
Reference in New Issue
Block a user