* chore: Update dockerfile paths and branch name in render.yaml and release.yml * chore(readthedocs.yaml): remove .readthedocs.yaml file as it is no longer needed chore(base.Dockerfile): remove base.Dockerfile as it is no longer used in the project feat(cdk-docker-compose.yml): add cdk-docker-compose.yml file to set up docker-compose for backend and frontend services * move dockerignore * chore: Remove test-results/.last-run.json file * chore: Cache Node.js dependencies during workflow execution * chore: Remove npm cache from workflow and cache Node.js dependencies * chore: Update shardIndex and shardTotal values in typescript_test.yml workflow * chore: Update Playwright test command with shard and worker options
18 lines
672 B
Docker
18 lines
672 B
Docker
FROM python:3.10-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install Poetry
|
|
RUN apt-get update && apt-get install gcc g++ curl build-essential postgresql-server-dev-all -y
|
|
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 poetry.lock pyproject.toml ./
|
|
# Copy the rest of the application codes
|
|
COPY ./ ./
|
|
|
|
# Install dependencies
|
|
RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi
|
|
|
|
CMD ["uvicorn", "--factory", "langflow.main:create_app", "--host", "0.0.0.0", "--port", "7860", "--reload", "--log-level", "debug", "--loop", "asyncio"]
|