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