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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -3
Dockerfile CHANGED
@@ -4,19 +4,23 @@ FROM python:3.10-slim
4
  # Set the working directory
5
  WORKDIR /app
6
 
 
 
 
 
7
  # Clone Langflow repository
8
  RUN git clone https://github.com/logspace-ai/langflow.git /app/langflow
9
 
10
- # Change to Langflow directory (where the requirements.txt is located)
11
  WORKDIR /app/langflow
12
 
13
  # Install Python dependencies
14
  RUN pip install --upgrade pip && pip install -r requirements.txt
15
 
16
- # Copy environment variables for Langfuse
17
  ENV LANGFUSE_SECRET_KEY=<your_secret_key>
18
  ENV LANGFUSE_PUBLIC_KEY=<your_public_key>
19
- ENV LANGFUSE_HOST="https://localhost"
20
 
21
  # Expose port 7860
22
  EXPOSE 7860
 
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
+
11
  # Clone Langflow repository
12
  RUN git clone https://github.com/logspace-ai/langflow.git /app/langflow
13
 
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>
22
  ENV LANGFUSE_PUBLIC_KEY=<your_public_key>
23
+ ENV LANGFUSE_HOST="https://cloud.langfuse.com"
24
 
25
  # Expose port 7860
26
  EXPOSE 7860