docker-postgres/Dockerfile
RouxAntoine 34dda4a918
All checks were successful
Main / build (push) Successful in 3m10s
feature: setup pgtop in container
2023-12-02 21:56:00 +01:00

15 lines
329 B
Docker

FROM postgres:16.1-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
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 5432
CMD ["postgres"]