File tree 4 files changed +3
-3
lines changed
4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ layers: docker-images
39
39
docker-compose down
40
40
41
41
# The console layer (only built on x86) because it's not dependent on the CPU
42
- cd layers/console && zip ../../output/console.zip bootstrap.php
42
+ cd layers/console && zip -r ../../output/console.zip bref
43
43
44
44
45
45
# Upload the layers to AWS Lambda
Original file line number Diff line number Diff line change @@ -13,6 +13,6 @@ RUN composer install --ignore-platform-req=ext-posix --ignore-platform-req=ext-s
13
13
FROM bref/${CPU_PREFIX}php-$PHP_VERSION
14
14
15
15
# Overwrite the "function" bootstrap file
16
- COPY bootstrap.php /opt/bref/bootstrap.php
16
+ COPY bref/ bootstrap.php /opt/bref/bootstrap.php
17
17
18
18
COPY --from=composer /opt/bref/console-runtime /opt/bref/console-runtime
Original file line number Diff line number Diff line change 1
1
The "console" layer is a layer that comes on top of the PHP runtime. It lets us execute console commands on lambda.
2
2
3
- This layer overrides the ` bootstrap.php ` to execute CLI console commands (e.g. Symfony Console or Laravel Artisan).
3
+ This layer overrides the ` /opt/bref/ bootstrap.php` file to execute CLI console commands (e.g. Symfony Console or Laravel Artisan).
4
4
5
5
Read more at [ bref.sh/docs/runtimes/console.html] ( https://bref.sh/docs/runtimes/console.html ) .
File renamed without changes.
You can’t perform that action at this time.
0 commit comments