FROM registry.yandex.net/ubuntu:xenial

RUN apt-get update -qq && \
	apt-get install -y --force-yes \
		python-pip \
	&& pip install -i https://pypi.yandex-team.ru/simple \
		'cocaine>=0.12.14.3,<0.12.15.0' \
		'tornado<5.0'

ADD ./hasher.py /app/hasher.py
RUN chmod +x /app/hasher.py