Update Dockerfile, docker-compose.yml, and add langflow 1.0-alpha tag (#1620)

* Update Dockerfile to use logspace/langflow:latest image

* Update docker-compose.yml with new version and add PostgreSQL service

* Add langflow 1.0-alpha tag
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-04-05 14:39:51 -03:00 committed by GitHub
commit 9b09156aa6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 27 additions and 18 deletions

View file

@ -1,15 +1,3 @@
FROM python:3.10-slim
FROM logspace/langflow:latest
RUN apt-get update && apt-get install gcc g++ git make -y && apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
RUN pip install langflow>==0.5.0 -U --user
CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860"]