FROM postgres:17 WORKDIR /db # postgresql will execute the files in that folder after build COPY create.sql drop.sql insert.sql select.sql update.sql /docker-entrypoint-initdb.d/