We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec4018a commit 277d011Copy full SHA for 277d011
entrypoint.sh
@@ -193,9 +193,9 @@ if [ -n "$(env_var_or_file "BACKEND_URI")" ]; then
193
fi
194
195
# Create application key if not already set
196
-if [ -z "$APP_KEY" ]; then
+if [ -z "$APP_KEY" ] && [ ! -f /winter/.env ]; then
197
echo "Generating application key..."
198
- php artisan key:generate
+ php artisan key:generate --force
199
200
201
# Run migrations if RUN_MIGRATIONS is set to true or 1
0 commit comments