We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 445294b commit 5e1eb9eCopy full SHA for 5e1eb9e
1 file changed
deployment/start-container
@@ -4,19 +4,15 @@ set -e
4
container_mode=${CONTAINER_MODE:-"http"}
5
octane_server=${OCTANE_SERVER}
6
running_migrations_and_seeders=${RUNNING_MIGRATIONS_AND_SEEDERS:-"false"}
7
-artisan_cache=${ARTISAN_CACHE:-"true"}
8
9
echo "Container mode: $container_mode"
10
11
initialStuff() {
12
-
13
- if [ "${artisan_cache}" = "true" ]; then
14
- php artisan storage:link; \
15
- php artisan optimize:clear; \
16
- php artisan event:cache; \
17
- php artisan config:cache; \
18
- php artisan route:cache;
19
- fi
+ php artisan storage:link; \
+ php artisan optimize:clear; \
+ php artisan event:cache; \
+ php artisan config:cache; \
+ php artisan route:cache;
20
21
if [ "${running_migrations_and_seeders}" = "true" ]; then
22
echo "Running migrations and seeding database ..."
0 commit comments