Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update sh file
Browse files- entrypoint.sh +1 -0
entrypoint.sh
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
npx prisma generate &&
|
3 |
npm run build &&
|
4 |
# Create symlink from /data/uploads to /static/data/uploads
|
|
|
5 |
ln -s /data/uploads /app/static/data/uploads &&
|
6 |
npx prisma generate &&
|
7 |
npx prisma migrate deploy &&
|
|
|
2 |
npx prisma generate &&
|
3 |
npm run build &&
|
4 |
# Create symlink from /data/uploads to /static/data/uploads
|
5 |
+
mkdir -p ./static/data &&
|
6 |
ln -s /data/uploads /app/static/data/uploads &&
|
7 |
npx prisma generate &&
|
8 |
npx prisma migrate deploy &&
|