Spaces:
Sleeping
Sleeping
GabrielLogspace
commited on
Commit
•
86203ab
1
Parent(s):
93de4de
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -22,8 +22,8 @@ RUN mkdir logs && chmod 777 logs
|
|
22 |
|
23 |
# Set permissions for database folder
|
24 |
RUN chmod 777 /home/langflow
|
25 |
-
|
26 |
# Update the config.yaml file, build and install the langflow package
|
27 |
-
RUN make
|
28 |
|
29 |
-
CMD ["langflow","run", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
22 |
|
23 |
# Set permissions for database folder
|
24 |
RUN chmod 777 /home/langflow
|
25 |
+
RUN make setup_poetry
|
26 |
# Update the config.yaml file, build and install the langflow package
|
27 |
+
RUN make build && poetry run pip install dist/*.tar.gz
|
28 |
|
29 |
+
CMD ["poetry","run","langflow","run", "--host", "0.0.0.0", "--port", "7860"]
|