Rewrote pipeline to use grpc flow

This commit is contained in:
2023-04-10 19:05:31 -06:00
parent cd69ff50f7
commit 719778fde3
6 changed files with 224 additions and 3 deletions
+10 -3
View File
@@ -1,7 +1,14 @@
FROM python:3.11
RUN pip install git+https://git.ohea.xyz/cursorius/pipeline-api#subdirectory=python
# Install poetry
ENV POETRY_VERSION=1.4.2
ENV POETRY_HOME=/opt/poetry
RUN curl https://install.python-poetry.org --output install-poetry.py
RUN python3 install-poetry.py
COPY .cursorius/build.py /
CMD ["python3", "/build.py"]
COPY .cursorius/pipeline /pipeline
WORKDIR /pipeline
RUN $POETRY_HOME/bin/poetry config virtualenvs.in-project true
RUN $POETRY_HOME/bin/poetry install
CMD ["/opt/poetry/bin/poetry", "run", "pipeline"]