Fix prisma deploy issue
This commit is contained in:
@@ -31,8 +31,8 @@ echo
|
||||
echo "Pushed: $IMAGE:$TAG ($PLATFORM)"
|
||||
echo
|
||||
echo "Next steps:"
|
||||
echo " 1. Update CloudronManifest.json 'version' (must increase) and"
|
||||
echo " 'dockerimage' to:"
|
||||
echo " \"dockerimage\": \"$IMAGE:$TAG\""
|
||||
echo " 2. First install: cloudron install"
|
||||
echo " Subsequent: cloudron update --app <app-id>"
|
||||
echo " 1. Bump CloudronManifest.json 'version' (must increase for cloudron update)."
|
||||
echo " 2. First install:"
|
||||
echo " cloudron install --location staging.communityrule.info --image $IMAGE:$TAG"
|
||||
echo " Subsequent update:"
|
||||
echo " cloudron update --app staging.communityrule.info --image $IMAGE:$TAG"
|
||||
|
||||
+1
-1
@@ -21,4 +21,4 @@ chown -R node:node /tmp/next-cache
|
||||
# Drop privileges, apply any pending migrations, then exec the server.
|
||||
# Inner `exec` ensures SIGTERM from Cloudron reaches node for clean shutdown.
|
||||
exec gosu node:node sh -c \
|
||||
'./node_modules/.bin/prisma migrate deploy && exec node server.js'
|
||||
'prisma migrate deploy && exec node server.js'
|
||||
|
||||
Reference in New Issue
Block a user