FROM registry.yandex.net/tools/raw-ubuntu:16.04
CMD nginx -c /etc/nginx/${YENV_TYPE}.conf

RUN apt-get update -qq \
    && apt-get install -y nginx perl \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*


COPY conf /etc/nginx/
