FROM postgres:16.1-alpine AS build ADD ./*.sql /docker-entrypoint-initdb.d RUN chmod 644 /docker-entrypoint-initdb.d/*.sql EXPOSE 5432 ENTRYPOINT [ "docker-entrypoint.sh" ] CMD [ "postgres" ]