FROM postgres:14.9-bullseye 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"]