remove copy . . from the dockerfile
In the docker file there's a line "code . ." where that means "Copying everything from the project folder into the image means you copy EVERYTHING including the .git folder, test data, build files etc - these should not be present in images" https://gitlab.com/arbetsformedlingen/individdata/axa-pilot/af-connect-services-frontend/-/blob/main/Dockerfile?ref_type=heads Can you please have a look ?