12345678910111213 |
- FROM registry.sdsys.ru/iru/iru-base:0.1
- ENTRYPOINT ["docker-entrypoint.sh"]
- COPY docker-entrypoint.sh /usr/share/web-registry-portal/bin/docker-entrypoint.sh
- 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=15s --timeout=5s --retries=2 CMD curl -f -H 'Host:demo.infoclinica.ru' 127.0.0.1:9000/login || exit 1
- CMD ["web-registry-portal", "-Dpidfile.path=/var/run/web-registry-portal/play.pid", "-Dconfig.file=/etc/web-registry-portal/application.conf", "-Dlogger.file=/etc/web-registry-portal/application-logger.xml"]
- 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 \
- && yum install web-registry-portal -y \
- && yum clean all
|