docker: improve image layout and backend-only/frontend-only images (#2071)
* docker: improve image layout and backend-only image * add tests * add tests * add frontend * add frontend * label * fix
This commit is contained in:
parent
b74dd3fa7d
commit
ba59a9f449
9 changed files with 233 additions and 48 deletions
8
docker/build_and_push_backend.Dockerfile
Normal file
8
docker/build_and_push_backend.Dockerfile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
# Keep this syntax directive! It's used to enable Docker BuildKit
|
||||
|
||||
ARG LANGFLOW_IMAGE
|
||||
FROM $LANGFLOW_IMAGE
|
||||
|
||||
RUN rm -rf /app/.venv/langflow/frontend
|
||||
CMD ["--host", "0.0.0.0", "--port", "7860", "--backend-only"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue