So thanks to β.εηοιτ.βε in the comments, it was cleared, the error is that you cant have
image: postgres:15.3
build:
context: .
dockerfile: Dockerfile
image and build in the same compose or the image supercedes the build and therefor the build is ignored. I believe this is the mistake i have made. As of rn i dont know where the image should be, so i can not test it but im convinced this is the issue.