docker-postgres/Dockerfile
RouxAntoine 81b9f67893
All checks were successful
Main / build (push) Successful in 1m47s
feature: upgrade debian base image from bullseye to bookworm
2023-10-21 18:38:59 +02:00

12 lines
291 B
Docker

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