2024-11-22 21:23:43 +00:00
|
|
|
FROM postgres:16.6-bookworm
|
2022-06-06 10:28:01 +00:00
|
|
|
|
|
|
|
COPY initScript/*.sh /docker-entrypoint-initdb.d/
|
2023-05-11 09:39:09 +00:00
|
|
|
COPY backup-database.sh /backup-database.sh
|
2022-06-06 10:28:01 +00:00
|
|
|
RUN localedef -i fr_FR -c -f UTF-8 -A /usr/share/locale/locale.alias fr_FR.UTF-8
|
2023-12-02 20:55:46 +00:00
|
|
|
|
|
|
|
RUN apt update && apt install pgtop
|
|
|
|
|
2022-06-06 10:28:01 +00:00
|
|
|
ENV LANG fr_FR.utf8
|
2023-12-03 14:33:17 +00:00
|
|
|
ENV PURGE_OLD false
|
2022-06-06 10:28:01 +00:00
|
|
|
|
|
|
|
ENTRYPOINT ["docker-entrypoint.sh"]
|
2024-03-03 14:47:16 +00:00
|
|
|
# this is the default but in case of
|
|
|
|
STOPSIGNAL SIGTERM
|
2022-06-06 10:28:01 +00:00
|
|
|
|
|
|
|
EXPOSE 5432
|
|
|
|
CMD ["postgres"]
|