FROM registry.yandex.net/rtc-base/focal:stable

MAINTAINER Andrew Krasichkov "buglloc@yandex-team.ru"
ENV DEBIAN_FRONTEND noninteractive

RUN set -xe && \
    apt-get update -y && \
    apt-get install -y supervisor && \
    apt clean

# . - content root folder, must contain all destinations from pkg.json
COPY . /

WORKDIR /

CMD /usr/bin/supervisord -n -c /conf.d/supervisor/supervisord.conf
