From 8a53dbd6701cd775b84e51a4366a7e209d921d7d Mon Sep 17 00:00:00 2001 From: Pherkel Date: Fri, 18 Aug 2023 23:19:37 +0200 Subject: fixed poetry install, added dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ca7463f --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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" ] -- cgit v1.2.3