improve supabase
This commit is contained in:
+3
-1
@@ -1,3 +1,5 @@
|
||||
# Supabase
|
||||
|
||||
Copied and adapted from https://github.com/supabase/supabase/tree/master/docker
|
||||
- copied from https://github.com/supabase/supabase/tree/master/docker
|
||||
- removed `container_name`
|
||||
- removed `ports`
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# check if ./repo exists
|
||||
if [ ! -d "./repo" ]; then
|
||||
git clone --depth 1 --branch master --single-branch https://github.com/supabase/supabase repo
|
||||
else
|
||||
cd repo
|
||||
git pull
|
||||
cd ..
|
||||
fi
|
||||
|
||||
# copy files from ./repo/docker to ./code
|
||||
cp -r ./repo/docker/* ./code
|
||||
|
||||
Reference in New Issue
Block a user