R bioconductor creating image from github to dockerhub and then pull

Good afternoon. I have the following issue.

I have a shiny app that uses Bioconductor packages. I have and the Dockerfile.

When a deploy the app from my desktop to Docker everything working properly.

When I upload my app in Github and then I connect with the Docker hub I do not receive any kind of error.

When I pull the image from Dockerhub to my Desctop Docker then the app cannot run because of missing Bioconductor packages. ( That previously working properly)

In both cases are exactly the same app and the same docker file.

What I should do? What I should look for?