FROM python:3.9.4-slim-busterENV DEBIAN_FRONTEND=noninteractiveRUN sudo apt update && apt install firefox -y -fRUN firefox --version || (echo "Error: Failed to install Firefox" && exit 1)
I was running the code build for my app and noticed that there is something wrong when the build exited and i go the error message :
E: Package 'firefox' has no installation candidateThe command '/bin/sh -c sudo apt update && apt install firefox -y -f' returned a non-zero code: 100