Update entrypoint.sh
Browse files- entrypoint.sh +10 -0
entrypoint.sh
CHANGED
|
@@ -1,5 +1,15 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
# Create config.json dynamically using environment variables
|
| 4 |
# IMPORTANT: Comments are OK here in the shell script, but NOT inside the EOF block below.
|
| 5 |
cat <<EOF > /app/config.json
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
+
# --- Diagnostic Step ---
|
| 4 |
+
echo "--- Checking Playwright install location and permissions ---"
|
| 5 |
+
echo "Running as user: $(whoami)"
|
| 6 |
+
echo "PLAYWRIGHT_BROWSERS_PATH environment variable: ${PLAYWRIGHT_BROWSERS_PATH}"
|
| 7 |
+
echo "Listing contents of /app/.cache/ms-playwright:"
|
| 8 |
+
ls -lR /app/.cache/ms-playwright
|
| 9 |
+
echo "--- End of Diagnostic Step ---"
|
| 10 |
+
# --- End of Diagnostic ---
|
| 11 |
+
|
| 12 |
+
|
| 13 |
# Create config.json dynamically using environment variables
|
| 14 |
# IMPORTANT: Comments are OK here in the shell script, but NOT inside the EOF block below.
|
| 15 |
cat <<EOF > /app/config.json
|