improve supabase
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
repo
|
||||||
+3
-1
@@ -1,3 +1,5 @@
|
|||||||
# Supabase
|
# 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
|
#!/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
|
# copy files from ./repo/docker to ./code
|
||||||
cp -r ./repo/docker/* ./code
|
cp -r ./repo/docker/* ./code
|
||||||
|
|||||||
Reference in New Issue
Block a user