16 lines
349 B
Docker
Raw Normal View History

FROM postgres:16.2-bookworm
2022-06-06 12:28:01 +02:00
COPY initScript/*.sh /docker-entrypoint-initdb.d/
2023-05-11 11:39:09 +02:00
COPY backup-database.sh /backup-database.sh
2022-06-06 12:28:01 +02:00
RUN localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8
2023-12-02 21:55:46 +01:00
RUN apt update && apt install pgtop
2022-06-06 12:28:01 +02:00
ENV LANG fr_FR.utf8
ENV PURGE_OLD false
2022-06-06 12:28:01 +02:00
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 5432
CMD ["postgres"]