unip-controller/build/pipeline_validate_results.Dockerfile
2025-04-15 20:56:15 +03:00

29 lines
No EOL
1.2 KiB
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ============================================================
# Система: Единая библиотека, Центр ИИ НИУ ВШЭ
# Модуль: Утилиты
# Авторы: Полежаев В.А., Хританков А.С.
# Дата создания: 2024 г.
# ============================================================
FROM python:3.10-slim-buster
USER root
WORKDIR /
ADD ./controller/pipeline_validate_results_requirements.txt /pipeline_validate_results/pipeline_validate_results_requirements.txt
WORKDIR /pipeline_validate_results
RUN pip install -r pipeline_validate_results_requirements.txt
ADD ./controller/src/exp_pipeline/results /pipeline_validate_results/src/exp_pipeline/results
ADD ./controller/src/exp_pipeline/client_config.py /pipeline_validate_results/src/exp_pipeline/client_config.py
ADD ./controller/src/exp_pipeline/schema.py /pipeline_validate_results/src/exp_pipeline/schema.py
ADD ./controller/src/exp_pipeline/logs.py /pipeline_validate_results/src/exp_pipeline/logs.py
ADD ./controller/src/exp_pipeline/__init__.py /pipeline_validate_results/src/exp_pipeline/__init__.py
RUN useradd -m pipeine
RUN chown -R pipeine .
ENV PYTHONPATH "${PYTHONPATH}:/pipeline_validate_results/src"
USER pipeine