FROM registry.sdsys.ru/iru/iru-base:0.4 ENTRYPOINT ["docker-entrypoint.sh"] COPY docker-entrypoint.sh healthcheck.sh /usr/share/web-registry-portal/bin/ COPY application-logger.xml /etc/web-registry-portal/ ENV PATH=/usr/share/web-registry-portal/bin:$PATH LANG="en_US.UTF-8" ADMIN_HOST=admin EXPOSE 9000 2551 HEALTHCHECK --start-period=30s --interval=20s --timeout=10s --retries=2 CMD healthcheck.sh ARG repo=prod RUN set -x \ && curl https://repo.infoclinica.ru/yum/centos/sds-${repo}-portal.repo -o /etc/yum.repos.d/sds-${repo}-portal.repo \ && chmod +x /usr/share/web-registry-portal/bin/docker-entrypoint.sh \ && chmod +x /usr/share/web-registry-portal/bin/healthcheck.sh \ && yum install web-registry-portal iputils -y \ && yum clean all \ && rm -rf /var/cache/yum