Chris4K commited on
Commit
c65f9b7
·
verified ·
1 Parent(s): 23a2cfe

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -1
Dockerfile CHANGED
@@ -1,6 +1,13 @@
1
  FROM langfuse/langfuse:latest
2
 
3
- # Optional: Add any additional configuration
 
 
 
 
 
 
 
4
  EXPOSE 3000
5
 
6
  CMD ["docker-compose", "up"]
 
1
  FROM langfuse/langfuse:latest
2
 
3
+ # Generate secrets
4
+ RUN openssl rand -base64 32 > /nextauth_secret.txt
5
+ RUN openssl rand -base64 32 > /salt.txt
6
+
7
+ # Set environment variables from generated secrets
8
+ ENV NEXTAUTH_SECRET=$(cat /nextauth_secret.txt)
9
+ ENV SALT=$(cat /salt.txt)
10
+
11
  EXPOSE 3000
12
 
13
  CMD ["docker-compose", "up"]