docker-postgres/Dockerfile
RouxAntoine 80521cd985
All checks were successful
Main / build (push) Successful in 2m5s
feature: upgrade to postgres 15.4-bookworm from 14.9-bookworm
2023-10-21 20:53:29 +02:00

12 lines
291 B
Docker

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"]