Skip to content

Fix chainspecs path in Dockerfile#1566

Closed
helvenk wants to merge 12 commits intoopentensor:devnet-readyfrom
helvenk:patch-2
Closed

Fix chainspecs path in Dockerfile#1566
helvenk wants to merge 12 commits intoopentensor:devnet-readyfrom
helvenk:patch-2

Conversation

@helvenk
Copy link

@helvenk helvenk commented Apr 24, 2025

Description

I found a docker build error shows raw_spec_finney.json not exists, which make the docker container exited.

node-subtensor \
          --base-path /tmp/blockchain \
          # Here !!!
          --chain raw_spec_finney.json \
          --rpc-external --rpc-cors all \

This happens on Windows and Linux, but I didn't encounter on macOS. Perhaps it's because macOS automatically recursively searches subdirectories for JSON files? I don't know.

COPY --from=prod_builder /build/*.json /

This PR try to fix it.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have run cargo fmt and cargo clippy to ensure my code is formatted and linted correctly
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@open-junius
Copy link
Contributor

open-junius commented Apr 24, 2025

@helvenk Thanks for the PR. There is a PR #1561 already merged into devnet-ready. we just need to wait it to be in main branch.

@helvenk helvenk changed the base branch from main to devnet-ready April 24, 2025 12:43
@helvenk helvenk closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants