Working version
This commit is contained in:
13
entrypoint.sh
Normal file
13
entrypoint.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Create data dir if missing (also persisted via volume)
|
||||
mkdir -p /app/data
|
||||
|
||||
# Helpful debug: show versions
|
||||
python --version
|
||||
echo "Chromium: $(chromium --version || true)"
|
||||
echo "Chromedriver: $(chromedriver --version || true)"
|
||||
|
||||
# Run your task
|
||||
exec python /app/run.py
|
Reference in New Issue
Block a user