Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
@@ -26,7 +26,5 @@ RUN mkdir logs && chmod 777 logs
|
|
26 |
RUN pipx install poetry
|
27 |
|
28 |
RUN make install_frontend && make build_frontend && make install_backend
|
29 |
-
|
30 |
-
# Update the config.yaml file, build and install the langflow package
|
31 |
-
|
32 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug"]
|
|
|
26 |
RUN pipx install poetry
|
27 |
|
28 |
RUN make install_frontend && make build_frontend && make install_backend
|
29 |
+
RUN if [ ! -d src/backend/base/langflow/frontend ] || [ ! "$(ls -A src/backend/base/langflow/frontend)" ]; then echo 'Folder src/backend/base/langflow/frontend does not exist or is empty'; exit 1; fi
|
|
|
|
|
30 |
CMD ["make", "start", "host=0.0.0.0", "port=7860", "log_level=debug"]
|