improve supabase

This commit is contained in:
Andrei Canta
2024-07-26 11:24:37 +03:00
parent b8cc26113f
commit afcefdd568
3 changed files with 13 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
repo
+3 -1
View File
@@ -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`
+9
View File
@@ -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