Chris4K marcklingen commited on
Commit
afc5295
·
verified ·
1 Parent(s): 7384874

pin langfuse major version 2 (#1)

Browse files

- pin langfuse major version 2 (71cb26a17a9e2770777596c8ec7fd69f8f97e787)


Co-authored-by: Marc Klingen <marcklingen@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ def run_langfuse():
33
  }
34
 
35
  # Pull Langfuse Docker image
36
- subprocess.run(['docker', 'pull', 'langfuse/langfuse:latest'], check=True)
37
 
38
  # Prepare Docker run command
39
  docker_cmd = [
@@ -46,7 +46,7 @@ def run_langfuse():
46
  for key, value in env_vars.items():
47
  docker_cmd.extend(['-e', f'{key}={value}'])
48
 
49
- docker_cmd.append('langfuse/langfuse:latest')
50
 
51
  # Run the container
52
  subprocess.run(docker_cmd, check=True)
 
33
  }
34
 
35
  # Pull Langfuse Docker image
36
+ subprocess.run(['docker', 'pull', 'langfuse/langfuse:2'], check=True)
37
 
38
  # Prepare Docker run command
39
  docker_cmd = [
 
46
  for key, value in env_vars.items():
47
  docker_cmd.extend(['-e', f'{key}={value}'])
48
 
49
+ docker_cmd.append('langfuse/langfuse:2')
50
 
51
  # Run the container
52
  subprocess.run(docker_cmd, check=True)