Create entrypoint.sh
Browse files- entrypoint.sh +11 -0
entrypoint.sh
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
# Exit immediately if a command exits with a non-zero status.
|
4 |
+
set -e
|
5 |
+
|
6 |
+
echo "Pulling latest Docker Compose images..."
|
7 |
+
docker compose pull
|
8 |
+
|
9 |
+
echo "Starting Supabase services..."
|
10 |
+
# Run docker compose up in the foreground
|
11 |
+
exec docker compose up
|