Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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"]
|