File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,6 @@ RUN find /home/app -name "run-*.sh" -exec chmod -v +x {} \;
110
110
RUN chmod +x /home/app/entrypoint.sh
111
111
112
112
# run the application
113
- ENTRYPOINT bash /home/app/entrypoint.sh
113
+ ENTRYPOINT [ " /home/app/entrypoint.sh" ]
114
114
CMD /home/app/run-prod.sh
115
115
EXPOSE 8080
Original file line number Diff line number Diff line change @@ -10,13 +10,13 @@ touch /opt/app/storage/logs/worker.log
10
10
chown www-data:www-data -R /opt/app/storage
11
11
chown www-data:www-data -R /opt/app/bootstrap/cache
12
12
13
+ cd /opt/app
14
+
13
15
# create storage symlink
14
16
echo " create storage symlink..."
15
17
su www-data -s /bin/sh -c " php artisan storage:link -q"
16
18
17
19
# startup commands
18
20
php /usr/local/bin/startup-commands.php | bash
19
21
20
- cd /opt/app
21
-
22
- " $@ "
22
+ exec " $@ "
You can’t perform that action at this time.
0 commit comments