docker-postgres/Dockerfile

12 lines
291 B
Docker
Raw Normal View History

FROM postgres:14.9-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
ENV LANG fr_FR.utf8
ENTRYPOINT ["docker-entrypoint.sh"]
EXPOSE 5432
CMD ["postgres"]