-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from logspace-ai/dev
Release 0.0.33
- Loading branch information
Showing
12 changed files
with
248 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.10 | ||
FROM python:3.10-slim | ||
|
||
WORKDIR /app | ||
|
||
# Install Poetry | ||
RUN apt-get update && apt-get install -y curl | ||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
# Add Poetry to PATH | ||
RUN curl -sSL https://install.python-poetry.org | python3 - | ||
# # Add Poetry to PATH | ||
ENV PATH="${PATH}:/root/.local/bin" | ||
# Copy the pyproject.toml and poetry.lock files | ||
# # Copy the pyproject.toml and poetry.lock files | ||
COPY poetry.lock pyproject.toml ./ | ||
# Copy the rest of the application codes | ||
COPY ./ ./ | ||
|
||
|
||
# install dependencies | ||
# Install dependencies | ||
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi | ||
|
||
|
||
CMD ["uvicorn", "langflow.cli:app", "--host", "0.0.0.0", "--port", "5003"] | ||
CMD ["uvicorn", "langflow_backend.main:app", "--host", "0.0.0.0", "--port", "5003", "--reload"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
FROM python:3.11-slim | ||
|
||
WORKDIR /app | ||
COPY ./ /app | ||
RUN pip install langflow>=0.0.33 | ||
|
||
EXPOSE 5003 | ||
CMD ["langflow", "--host", "0.0.0.0"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
version: '3' | ||
|
||
services: | ||
langflow: | ||
build: | ||
context: ./ | ||
dockerfile: Dockerfile | ||
ports: | ||
- "5003:5003" | ||
command: langflow --host 0.0.0.0 | ||
platform: linux/amd64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
FROM node:14-alpine as frontend_build | ||
ARG BACKEND | ||
WORKDIR /app | ||
COPY . /app | ||
RUN npm install | ||
CMD ["npm", "start"] |
Oops, something went wrong.