docker-postgres/Dockerfile
Renovate Bot 291bb3ce83
All checks were successful
Main / build (push) Successful in 5m28s
chore(deps): update postgres docker tag to v16.4
2024-10-24 23:18:24 +00:00

18 lines
405 B
Docker

FROM postgres:16.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
RUN apt update && apt install pgtop
ENV LANG fr_FR.utf8
ENV PURGE_OLD false
ENTRYPOINT ["docker-entrypoint.sh"]
# this is the default but in case of
STOPSIGNAL SIGTERM
EXPOSE 5432
CMD ["postgres"]