FROM postgres:17 WORKDIR /db # postgresql will execute the files in that folder after build COPY build/* /docker-entrypoint-initdb.d/