chore: simplify docker (#2526)
* chore: add docker command shortcuts to makefile * chore: replaced entreypoint with cmd * chore: remove enviroment variable
This commit is contained in:
parent
1a035a923c
commit
29e662848c
5 changed files with 59 additions and 4 deletions
|
|
@ -96,4 +96,4 @@ WORKDIR /app
|
|||
ENV LANGFLOW_HOST=0.0.0.0
|
||||
ENV LANGFLOW_PORT=7860
|
||||
|
||||
ENTRYPOINT ["python", "-m", "langflow", "run"]
|
||||
CMD ["python", "-m", "langflow", "run"]
|
||||
|
|
|
|||
|
|
@ -5,4 +5,5 @@ ARG LANGFLOW_IMAGE
|
|||
FROM $LANGFLOW_IMAGE
|
||||
|
||||
RUN rm -rf /app/.venv/langflow/frontend
|
||||
CMD ["--backend-only"]
|
||||
|
||||
CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860", "--backend-only"]
|
||||
|
|
|
|||
|
|
@ -98,4 +98,4 @@ RUN python -m pip install /app/src/backend/base/dist/*.tar.gz --user
|
|||
ENV LANGFLOW_HOST=0.0.0.0
|
||||
ENV LANGFLOW_PORT=7860
|
||||
|
||||
ENTRYPOINT ["python", "-m", "langflow", "run"]
|
||||
CMD ["python", "-m", "langflow", "run"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue