Add support to llama as llm

This commit is contained in:
Yoaz Menda 2023-04-08 08:24:10 +02:00 • committed by Gabriel Luiz Freitas Almeida
commit f02f0f9c98
7 changed files with 31 additions and 4 deletions

View file

@ -3,7 +3,7 @@ FROM python:3.10-slim
WORKDIR /app
# Install Poetry
RUN apt-get update && apt-get install gcc curl -y
RUN apt-get update && apt-get install gcc g++ curl -y
RUN curl -sSL https://install.python-poetry.org | python3 -
# # Add Poetry to PATH
ENV PATH="${PATH}:/root/.local/bin"
@ -15,4 +15,7 @@ COPY ./ ./
# Install dependencies
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
# Set the logging level to DEBUG
ENV LOG_LEVEL=debug
CMD ["uvicorn", "langflow.main:app", "--host", "0.0.0.0", "--port", "5003", "--reload", "log-level", "debug"]