ARG PG_TAG=latest FROM postgres:${PG_TAG} LABEL description="PostgreSQL with non-superuser db user." COPY custom-entrypoint.sh /usr/local/bin/ ENTRYPOINT ["custom-entrypoint.sh"] STOPSIGNAL SIGINT EXPOSE 5432 CMD ["postgres"]