Spaces:
Paused
Paused
Update Dockerfile
Browse files- 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
|
11 |
WORKDIR /app/langflow
|
12 |
|
13 |
# Install Python dependencies
|
14 |
RUN pip install --upgrade pip && pip install -r requirements.txt
|
15 |
|
16 |
-
#
|
17 |
ENV LANGFUSE_SECRET_KEY=<your_secret_key>
|
18 |
ENV LANGFUSE_PUBLIC_KEY=<your_public_key>
|
19 |
-
ENV LANGFUSE_HOST="https://
|
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
|