Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
COPY --from=node --chown=www-data:www-data /app/public/build ./public/build

# Ensure storage and bootstrap/cache are writable with minimal permissions
RUN mkdir -p storage/framework/cache \

Check failure on line 116 in Dockerfile

View workflow job for this annotation

GitHub Actions / 3️⃣ Dockerfile Lint

SC2086 info: Double quote to prevent globbing and word splitting.
storage/framework/sessions \
storage/framework/views \
storage/logs \
Expand All @@ -130,7 +130,8 @@
&& cp $PHP_INI_DIR/php.ini-production $PHP_INI_DIR/php.ini \
&& echo "upload_max_filesize=110M" > $PHP_INI_DIR/conf.d/custom.ini \
&& echo "post_max_size=110M" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "max_execution_time=3000" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "memory_limit=\${PHP_MEMORY_LIMIT}" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "max_execution_time=\${PHP_MAX_EXECUTION_TIME:-30}" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "expose_php=Off" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "display_errors=Off" >> $PHP_INI_DIR/conf.d/custom.ini \
&& echo "log_errors=On" >> $PHP_INI_DIR/conf.d/custom.ini
Expand Down
2 changes: 1 addition & 1 deletion config/octane.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,5 +211,5 @@
|
*/

'max_execution_time' => 30,
'max_execution_time' => intval(env('PHP_MAX_EXECUTION_TIME', 30)),
];