Spaces:
Paused
Paused
Create entrypoint.sh
Browse files- entrypoint.sh +11 -0
entrypoint.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
echo "Downloading project from ZIP_URL=$ZIP_URL"
|
| 4 |
+
curl -L "$ZIP_URL" -o project.zip
|
| 5 |
+
unzip project.zip
|
| 6 |
+
shopt -s dotglob
|
| 7 |
+
mv */* . || true
|
| 8 |
+
rm -rf project.zip __MACOSX
|
| 9 |
+
|
| 10 |
+
npm install
|
| 11 |
+
npm run start
|