FROM postgres:15.4-bookworm COPY initScript/*.sh /docker-entrypoint-initdb.d/ COPY backup-database.sh /backup-database.sh RUN localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8 ENV LANG fr_FR.utf8 ENTRYPOINT ["docker-entrypoint.sh"] EXPOSE 5432 CMD ["postgres"]