I have a Dockerfile trying to package and deploy a web app to a container. The code of app fetches from git repository during Docker image building. Here\'s the Dockerfile s
you can also use:
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache RUN git reset --hard ~Whatever~
as mentioned here: https://stackoverflow.com/a/58801213/8953378