Skip to content

Dockerfile does not copy genesis or app.toml during build #338

@no-no-genesis

Description

@no-no-genesis

Summary of Bug

When we run

docker build .

and

docker run -it $image

it fails with the error

Error: set min gas price in app.toml or flag or env variable: Error in app.toml

While this makes some sense to lack a default value, changing the start command to

docker run -it $image /usr/bin/sommelier start --min-gas-prices 1 

fails with no genesis file available.

It's not obvious how to get the chain to sync with the Dockerfile provided, even using a testnet genesis file which doesn't require cosmovisor.

I copied files from my local machine in my Dockerfile as a fix but I'm not sure that should be the standard.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions