FROM registry.yandex.net/avia/ubuntu-bionic-deploy:22b21855d62a4f7ff9fca4d5994f65d326015bb6

ARG work_dir=/app

WORKDIR ${work_dir}

# nginx
COPY docker/nginx/ /etc/nginx/sites-enabled/

# supervisor
COPY docker/supervisor /etc/supervisor/conf.d/

# Solomon
COPY docker/solomon/ /etc/solomon/

# application
COPY /app/api ${work_dir}/api

# Make port 80 available to the world outside this container
EXPOSE 80

# Environment variables
ENV LANG ru_RU.UTF-8
ENV APP_DIR ${work_dir}
