From 5bc398b5166e49147fa5fac41de0bc866a2159e0 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 23 Sep 2022 22:42:14 -0700 Subject: feat: initial commit --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..aeca5eb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM python:3.10 + +ENV PYTHONDONTWRITEBYTECODE 1 \ + PYTHONUNBUFFERED 1 \ + PIP_DISABLE_PIP_VERSION_CHECK 1 + +RUN pip install poetry + +WORKDIR /machinis + +COPY poetry.lock pyproject.toml /machinis/ + +RUN poetry config virtualenvs.create false \ + && poetry install --no-dev --no-interaction --no-ansi + +COPY . /machinis + +ENTRYPOINT ["poetry", "run", "python", "-m", "machinis"] -- cgit v1.2.3