File tree 2 files changed +4
-18
lines changed
2 files changed +4
-18
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,6 @@ FROM daveearley/hi.events-all-in-one
2
2
3
3
COPY render-start.sh /render-start.sh
4
4
RUN chmod +x /render-start.sh
5
- RUN /render-start.sh
5
+
6
+ CMD ["/render-start.sh" ]
7
+
Original file line number Diff line number Diff line change @@ -5,20 +5,4 @@ export VITE_API_URL_SERVER=http://localhost:80/api
5
5
export VITE_FRONTEND_URL=$RENDER_EXTERNAL_URL
6
6
export VITE_STRIPE_PUBLISHABLE_KEY=$STRIPE_PUBLISHABLE_KEY
7
7
8
- cd /app/backend
9
-
10
- if ! php artisan migrate --force; then
11
- echo " \033[0;31mERROR: Migrations could not complete. Check the error above.\033[0m"
12
- echo " \033[0;31mERROR: Ensure DATABASE_URL is set.\033[0m"
13
- fi
14
-
15
- # Clear caches
16
- php artisan cache:clear
17
- php artisan config:clear
18
- php artisan route:clear
19
- php artisan view:clear
20
-
21
- chown -R www-data:www-data /app/backend
22
- chmod -R 777 /app/backend/storage /app/backend/bootstrap/cache
23
-
24
- exec /usr/bin/supervisord -c /etc/supervisord.conf
8
+ exec /startup.sh
You can’t perform that action at this time.
0 commit comments