tryethernal / ethernal

Ethernal is a block explorer for EVM-based chains. In a few seconds, spin up a fully-featured explorer for your L1/L2 rollup/testnet. Compatible with Optimism, ZK, Anvil, Hardhat, Geth...
https://www.tryethernal.com
Other
204 stars 47 forks source link

cannot build the docker image because of missing file ethernal-95a14-19f78a7e26cc.json #241

Closed DegenComedian closed 1 year ago

DegenComedian commented 1 year ago

Hi, if I try to build the docker image I get:

Step 50/60 : COPY ethernal-95a14-19f78a7e26cc.json ./ethernal-95a14-19f78a7e26cc.json
COPY failed: file not found in build context or excluded by .dockerignore: stat ethernal-95a14-19f78a7e26cc.json: file does not exist

the file is referenced in the Dockerfile (https://github.com/tryethernal/ethernal/blob/develop/Dockerfile#L53) but nowhere to be found in this repository.

Cheers, Comedian

antoinedc commented 1 year ago

Ah yes! This file is a legacy one that I need in prod, but you won't. You can just use an empty file with the same name.

Why do you need to rebuild the image out of curiosity?

DegenComedian commented 1 year ago

wanted to test my patch to the subdomain in a production-like environment on my server, where I have docker, SSL cert and real domain.

antoinedc commented 1 year ago

Yeah good idea, thanks!

DegenComedian commented 1 year ago

works now