rak-301 commited on
Commit
dc12c15
·
verified ·
1 Parent(s): 6c7b9cd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -16,5 +16,11 @@ RUN pip install chainlit
16
  # Make port 8000 available to the world outside this container
17
  EXPOSE 8000
18
 
 
 
 
 
 
 
19
  # Run Chainlit app
20
  CMD ["chainlit", "run", "app.py", "-w", "--port", "8000"]
 
16
  # Make port 8000 available to the world outside this container
17
  EXPOSE 8000
18
 
19
+ # Define environment variable for files directory
20
+ ENV FILES_DIRECTORY=/app/files
21
+
22
+ # Create the files directory
23
+ RUN mkdir -p /app/files
24
+
25
  # Run Chainlit app
26
  CMD ["chainlit", "run", "app.py", "-w", "--port", "8000"]