Skip to content

Commit

Permalink
Use consistent names for binary inside/outside of container
Browse files Browse the repository at this point in the history
rename the container entrypoint to creditcoin3-node!
  • Loading branch information
atodorov committed Jan 8, 2024
1 parent a241cbc commit b85caad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
- name: Kill the container
run: |
# NOTE: inside the container creditcoin3-node is called creditcoin-node
sudo killall -9 creditcoin-node
sudo killall -9 creditcoin3-node
sanity-tests:
runs-on: ubuntu-22.04
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ FROM runtime-base
EXPOSE 30333/tcp
EXPOSE 30333/udp
EXPOSE 9944 9933 9615
ENTRYPOINT [ "/bin/creditcoin-node" ]
ENTRYPOINT [ "/bin/creditcoin3-node" ]

COPY --from=rust-builder --chown=creditcoin:creditcoin /creditcoin-node/target/release/creditcoin3-node /bin/creditcoin-node
COPY --from=rust-builder --chown=creditcoin:creditcoin /creditcoin-node/target/release/creditcoin3-node /bin/creditcoin3-node
COPY --from=cli-builder --chown=creditcoin:creditcoin /creditcoin-node/cli/creditcoin3-v*.tgz /creditcoin-node/

USER 0
Expand Down

0 comments on commit b85caad

Please sign in to comment.