blob: ca7463ffd17d3ccf1d8f24dc90d18da9a021356c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FROM python:3.10
# install python poetry
RUN curl -sSL https://install.python-poetry.org | python3 -
WORKDIR /app
COPY readme.md mypy.ini poetry.lock pyproject.toml ./
COPY swr2_asr ./swr2_asr
ENV POETRY_VIRTUALENVS_IN_PROJECT=true
RUN /root/.local/bin/poetry --no-interaction install --without dev
ENTRYPOINT [ "/root/.local/bin/poetry", "run", "python", "-m", "swr2_asr" ]
|