When running silverback build without requirements.txt or ape-config.yaml, the build command fails due to the hard coded values in the generate Dockerfile. This only occurs if you use the automatic generation of Dockerfiles. If you are using a custom dockerfile and run sivlerback build this error doesn't occur due to the silverback build command.
How can it be fixed?
Fix silverback build --generate so it checks the root folder for these files before adding the lines to the dockerfile
Environment information
ape
and plugin versions:What went wrong?
When running
silverback build
without requirements.txt or ape-config.yaml, the build command fails due to the hard coded values in the generate Dockerfile. This only occurs if you use the automatic generation of Dockerfiles. If you are using a custom dockerfile and runsivlerback build
this error doesn't occur due to thesilverback build
command.How can it be fixed?
Fix
silverback build --generate
so it checks the root folder for these files before adding the lines to the dockerfile