Spaces:
Sleeping
Sleeping
GabrielLogspace
commited on
Commit
•
1763c2a
1
Parent(s):
27501be
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
3 |
# Update and install required packages
|
4 |
-
RUN apt-get update && apt-get install gcc g++ git make -y
|
5 |
|
6 |
ENV LANGFLOW_HOME=/home/langflow \
|
7 |
PATH=/root/.local/bin:$PATH
|
@@ -24,6 +24,6 @@ RUN mkdir logs && chmod 777 logs
|
|
24 |
RUN chmod 777 /home/langflow
|
25 |
|
26 |
# Update the config.yaml file, build and install the langflow package
|
27 |
-
RUN make build && pip install dist/*.whl
|
28 |
|
29 |
CMD ["langflow","run", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
FROM nikolaik/python-nodejs:python3.10-nodejs21
|
2 |
|
3 |
# Update and install required packages
|
4 |
+
RUN apt-get update && apt-get install gcc g++ git make pipx -y
|
5 |
|
6 |
ENV LANGFLOW_HOME=/home/langflow \
|
7 |
PATH=/root/.local/bin:$PATH
|
|
|
24 |
RUN chmod 777 /home/langflow
|
25 |
|
26 |
# Update the config.yaml file, build and install the langflow package
|
27 |
+
RUN make setup_poetry && make build && pip install dist/*.whl
|
28 |
|
29 |
CMD ["langflow","run", "--host", "0.0.0.0", "--port", "7860"]
|