aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPherkel2023-08-19 11:06:33 +0200
committerPherkel2023-08-19 11:06:33 +0200
commit3880339761062a588f467c4ea891338838c533e9 (patch)
tree5638b0a224d9bb1d41a8b392efec30bbbd1b175b /Dockerfile
parent7c375276b44dc933b3311c87601e0ac6945f5be8 (diff)
parent9b4592caac90a41eb6ce18558588ef504c49f58e (diff)
Merge branch 'wave2vec2'
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile13
1 files changed, 13 insertions, 0 deletions
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" ]