Use user specified CACHE_DIR if exists
This is useful if say user deploy the service as systemd unit, then cache can be wrote to standard systemd CacheDirectory for example. (/var/cache/xxx)
Use user specified WEB_SERVE_DIR if exists
For some building system, (nix specific here), we build the two web and api worspaces separately, so web build isn't necessarily of __dirname/../../web/build, make that configurable would be nice.
Use user specified CACHE_DIR if exists This is useful if say user deploy the service as systemd unit, then cache can be wrote to standard systemd CacheDirectory for example. (/var/cache/xxx)
Use user specified WEB_SERVE_DIR if exists For some building system, (nix specific here), we build the two web and api worspaces separately, so web build isn't necessarily of __dirname/../../web/build, make that configurable would be nice.