Closed tjayrush closed 2 years ago
So, we don't use both at the same time (unless configured to do it). The default for both is an empty string. So the file is empty by default. We list both arguments in the command to allow the user to configure both options.
On this line:
https://github.com/TrueBlocks/trueblocks-docker/blob/develop/build/core/core.entrypoint.sh#L28
We use both
--file
and $ARG. Why both?--file
is a way to put multiple command lines in a file (likesed -f
) all to be run one after the other. I'm not sure we would ever want that for the scraper. Maybe this is a holdover from thechifra monitors
command where--file
use to be required?If possible, remove all mentions of
--file
for thecore
docker. I don't think we need it.