Chris4K commited on
Commit
f4db8cf
·
verified ·
1 Parent(s): ad61d96

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -4,7 +4,7 @@ FROM python:3.10-slim
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
- # Install system dependencies, including git
8
  RUN apt-get update && apt-get install -y git curl && \
9
  rm -rf /var/lib/apt/lists/*
10
 
@@ -14,8 +14,9 @@ RUN git clone https://github.com/logspace-ai/langflow.git /app/langflow
14
  # Change to Langflow directory
15
  WORKDIR /app/langflow
16
 
17
- # Install Python dependencies
18
- RUN pip install --upgrade pip && pip install -r requirements.txt
 
19
 
20
  # Set environment variables for Langfuse
21
  ENV LANGFUSE_SECRET_KEY=<your_secret_key>
 
4
  # Set the working directory
5
  WORKDIR /app
6
 
7
+ # Install system dependencies including git
8
  RUN apt-get update && apt-get install -y git curl && \
9
  rm -rf /var/lib/apt/lists/*
10
 
 
14
  # Change to Langflow directory
15
  WORKDIR /app/langflow
16
 
17
+ # Install required dependencies (manual installation if requirements.txt is missing)
18
+ RUN pip install --upgrade pip
19
+ RUN pip install langchain flask requests # Add any other required dependencies here
20
 
21
  # Set environment variables for Langfuse
22
  ENV LANGFUSE_SECRET_KEY=<your_secret_key>