FROM postgres:10.21-bullseye ADD . /docker-entrypoint-initdb.d RUN chmod a+r /docker-entrypoint-initdb.d/* RUN chmod a+x /docker-entrypoint-initdb.d/1_init.sh EXPOSE 5432 USER postgres