Spaces:
Runtime error
Runtime error
Added some echo statements
Browse files- entrypoint.sh +10 -0
entrypoint.sh
CHANGED
|
@@ -1,6 +1,16 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "Current directory: $(pwd)"
|
| 3 |
echo "Current path: $PATH"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
# Start Qdrant in the background
|
| 5 |
echo "Starting Qdrant server..."
|
| 6 |
/qdrant/qdrant &
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
echo "Current directory: $(pwd)"
|
| 3 |
echo "Current path: $PATH"
|
| 4 |
+
|
| 5 |
+
directory="../root/.local/bin"
|
| 6 |
+
if [ -d "$directory" ];
|
| 7 |
+
then
|
| 8 |
+
echo "Directory exists: $directory"
|
| 9 |
+
echo "Files in $directory:"
|
| 10 |
+
find "$directory" -type f
|
| 11 |
+
else
|
| 12 |
+
echo "Directory does not exist: $directory"
|
| 13 |
+
fi
|
| 14 |
# Start Qdrant in the background
|
| 15 |
echo "Starting Qdrant server..."
|
| 16 |
/qdrant/qdrant &
|