Files

10 lines
664 B
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.
FROM python:3.13-alpine
# Harbor исполняет команды через bash -c, а в alpine bash нет - шим на sh
# (тот же приём, что в smoke-choice).
RUN printf '#!/bin/sh\nexec /bin/sh "$@"\n' > /bin/bash && chmod +x /bin/bash
WORKDIR /app
# Анкета обещана инструкцией по пути /app/questionnaire.yaml; контекст сборки -
# только environment/, поэтому файл лежит здесь копией канонической анкеты
# из корня задачи (держать в синхроне с ../questionnaire.yaml).
COPY questionnaire.yaml /app/questionnaire.yaml