Sounds like you just need to include the code for your dependencies and point to it.
There is information on this in the anvil-runtime github repo here dep-id
The App Server looks for dependencies in the parent directory of the app (that is, dependency apps should be checked out next to the main app directory, not inside it).
You are right @augustas.volbekas, you need to use dep-id in the config file to let Anvil know where each dependency lives. This is a map between the opaque id and the directory containing the dependency.
So from the error, it can’t find my config-file.yaml. Using the full directory path failed as well.
If I remove the --config-file from docker I get the following:
[INFO anvil.app-server.postgres] Launching embedded Postgres database. Find Postgres daemon logs in the ' /anvil-data ' directory.
[INFO anvil.app-server.postgres] Initialising embedded Postgres database...
Database is uninitialised. Setting up Anvil database from scratch...
Setup complete.
Database now at "2024-02-12-session-expiry"
[WARN anvil.app-server.tables] This app does not have a 'db_schema' configuration, so we are not setting up the database.
[INFO anvil.core.server] HTTP Server running on port 3030
[INFO anvil.app-server.run] SMTP Server running on port 25
[INFO anvil.app-server.run] App URL: http://localhost:3030
[INFO anvil.app-server.dispatch] Launching built-in downlink...
[INFO anvil.executors.downlink] Downlink client connected with spec {:runtime "python3-full", :session_id "g7sl4H58hjONpSN84gbd"}
[WARN anvil.runtime.app-data] Cannot depend on dependency before other checks MainApp dep_lin1x4oec0ytd {:ref "refs/tags/v1.2.1"}:
[WARN anvil.runtime.app-data] Cannot depend on dependency before other checks MainApp dep_mh1r0kj22geoes {:ref "refs/tags/v3.1.0"}:
[WARN anvil.runtime.app-data] Cannot depend on dependency before other checks MainApp dep_lin1x4oec0ytd {:ref "refs/tags/v1.2.1"}:
[WARN anvil.runtime.app-data] Cannot depend on dependency before other checks MainApp dep_mh1r0kj22geoes {:ref "refs/tags/v3.1.0"}:
Which makes since as it does not know where to find them.