fix: 🔧 Fix binary location in Docker img (#239)

This commit is contained in:
Steve Degosserie 2025-10-15 22:54:44 +02:00 committed by GitHub
parent 72cac823af
commit 931a225f09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,10 +61,9 @@ RUN useradd -m -u 1000 -U -s /bin/sh -d /datahaven datahaven && \
USER datahaven
# Copy pre-built binary
COPY --chown=datahaven:datahaven build/* /datahaven
COPY --chown=datahaven:datahaven build/* /usr/local/bin
# Make binary executable
RUN chmod uog+x /datahaven/datahaven*
RUN chmod uog+x /usr/local/bin/datahaven*
# Expose ports
# 30333: p2p networking
@ -74,4 +73,4 @@ EXPOSE 30333 9944 9615
VOLUME ["/data"]
ENTRYPOINT ["/datahaven/datahaven-node"]
ENTRYPOINT ["/usr/local/bin/datahaven-node"]