Spaces:
Sleeping
Sleeping
GabrielLogspace
commited on
Commit
•
3ac3fbf
1
Parent(s):
cac7ac9
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM nikolaik/python-nodejs
|
2 |
+
|
3 |
+
RUN apt-get update && apt-get install -y gcc make
|
4 |
+
|
5 |
+
# install dependencies
|
6 |
+
|
7 |
+
# Clone ttp://github.com/logspace-ai/langfow.git and change to branch dev
|
8 |
+
ADD https://api.github.com/repos/logspace-ai/langflow/git/refs/heads/dev version.json
|
9 |
+
RUN git clone https://github.com/logspace-ai/langflow.git
|
10 |
+
WORKDIR /langflow
|
11 |
+
RUN git checkout dev && make build && pip install dist/*.tar.gz
|
12 |
+
|
13 |
+
CMD ["langflow", "--host", "0.0.0.0", "--port", "7860"]
|