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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -28
Dockerfile CHANGED
@@ -1,30 +1,6 @@
1
- # Use Python base image
2
- FROM python:3.10-slim
3
 
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 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>
23
- ENV LANGFUSE_PUBLIC_KEY=<your_public_key>
24
- ENV LANGFUSE_HOST="https://cloud.langfuse.com"
25
-
26
- # Expose port 7860
27
- EXPOSE 7860
28
-
29
- # Start Langflow
30
- CMD ["python", "-m", "langflow", "run", "--host", "0.0.0.0", "--port", "7860"]
 
1
+ FROM langfuse/langfuse:latest
 
2
 
3
+ # Optional: Add any additional configuration
4
+ EXPOSE 3000
5
 
6
+ CMD ["docker-compose", "up"]