Spaces:
Sleeping
Sleeping
File size: 603 Bytes
4fb5f9f 3ac3fbf 4fb5f9f 3ac3fbf 4fb5f9f 3ac3fbf 39060f5 5ec2854 4fb5f9f 3ac3fbf |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
FROM nikolaik/python-nodejs
# Update and install required packages
RUN apt-get update && apt-get install -y gcc make
# Clone the langflow repository and switch to the dev branch
ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
RUN git clone https://github.com/logspace-ai/langflow.git
WORKDIR /langflow
RUN git checkout dev
# Update the config.yaml file, build and install the langflow package
RUN sed -i 's/dev: false/dev: true/' src/backend/langflow/config.yaml && make build && pip install dist/*.tar.gz
CMD ["langflow", "--host", "0.0.0.0", "--port", "7860"] |