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"]