TorchLLM commited on
Commit
44ad3c5
·
verified ·
1 Parent(s): db7efc1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -25,7 +25,13 @@ streamlit run app.py' > ./start.sh
25
  # Make the script executable
26
  RUN chmod +x ./start.sh
27
 
 
 
 
28
  # Copy .env file and set environment variables
 
 
 
29
  ENV $(cat .env | xargs)
30
 
31
  # Run the start script
 
25
  # Make the script executable
26
  RUN chmod +x ./start.sh
27
 
28
+ # Create necessary directories and set permissions
29
+ RUN mkdir -p /app/src/.embedchain && chmod -R 777 /app/src/.embedchain
30
+
31
  # Copy .env file and set environment variables
32
+ COPY src/.env .
33
+
34
+ # Set environment variables from .env
35
  ENV $(cat .env | xargs)
36
 
37
  # Run the start script