FROM postgres:13 RUN apt update && apt install -y openssh-client rsync COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]