File tree Expand file tree Collapse file tree 5 files changed +23
-16
lines changed Expand file tree Collapse file tree 5 files changed +23
-16
lines changed Original file line number Diff line number Diff line change 5
5
"license" : " MIT" ,
6
6
"type" : " project" ,
7
7
"require" : {
8
- "laravel/lumen-framework" : " ^10 "
8
+ "laravel/lumen-framework" : " ^11 "
9
9
},
10
10
"autoload" : {
11
11
"psr-4" : {
Original file line number Diff line number Diff line change @@ -7,9 +7,14 @@ RUN echo "opcache.enable_cli=1" >> /usr/local/etc/php/conf.d/docker-php-ext-opca
7
7
# RUN echo "opcache.jit_buffer_size=128M" >> /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini
8
8
9
9
WORKDIR /lumen
10
- ADD --link . .
10
+ COPY --link . .
11
+
12
+ RUN mkdir -p bootstrap/cache \
13
+ storage/logs \
14
+ storage/framework/sessions \
15
+ storage/framework/views \
16
+ storage/framework/cache
11
17
12
- RUN mkdir -p /lumen/bootstrap/cache /lumen/storage/logs /lumen/storage/framework/sessions /lumen/storage/framework/views /lumen/storage/framework/cache
13
18
RUN chmod -R 777 /lumen
14
19
15
20
COPY deploy/laravel-s/composer.json ./
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ FROM phpswoole/swoole:5.1.3-php8.3
3
3
RUN docker-php-ext-install pcntl opcache curl > /dev/null
4
4
5
5
WORKDIR /lumen
6
- ADD --link . .
6
+ COPY --link . .
7
7
8
8
COPY --link deploy/swoole/php.ini /usr/local/etc/php/
9
9
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22 .04
1
+ FROM ubuntu:24 .04
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
4
@@ -14,16 +14,17 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
14
14
RUN apt-get install -y php-pear php8.3-dev libevent-dev > /dev/null
15
15
RUN pecl install event-3.1.3 > /dev/null && echo "extension=event.so" > /etc/php/8.3/cli/conf.d/event.ini
16
16
17
- ADD ./ /lumen
18
17
WORKDIR /lumen
18
+ COPY --link . .
19
+
19
20
20
21
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
21
22
RUN composer require joanhey/adapterman:^0.6 --quiet
22
23
23
- RUN mkdir -p /lumen/ storage
24
- RUN mkdir -p /lumen/ storage/framework/sessions
25
- RUN mkdir -p /lumen/ storage/framework/views
26
- RUN mkdir -p /lumen/ storage/framework/cache
24
+ RUN mkdir -p storage \
25
+ storage/framework/sessions \
26
+ storage/framework/views \
27
+ storage/framework/cache
27
28
28
29
RUN chmod -R 777 /lumen
29
30
Original file line number Diff line number Diff line change 1
- FROM ubuntu:22 .04
1
+ FROM ubuntu:24 .04
2
2
3
3
ARG DEBIAN_FRONTEND=noninteractive
4
4
@@ -13,17 +13,18 @@ COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
13
13
14
14
COPY deploy/conf/* /etc/php/8.3/fpm/
15
15
16
- ADD ./ /lumen
17
16
WORKDIR /lumen
17
+ COPY --link . .
18
+
18
19
19
20
RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/8.3/fpm/php-fpm.conf ; fi;
20
21
21
22
RUN composer install --optimize-autoloader --classmap-authoritative --no-dev --quiet
22
23
23
- RUN mkdir -p /lumen/ storage
24
- RUN mkdir -p /lumen/ storage/framework/sessions
25
- RUN mkdir -p /lumen/ storage/framework/views
26
- RUN mkdir -p /lumen/ storage/framework/cache
24
+ RUN mkdir -p storage \
25
+ storage/framework/sessions \
26
+ storage/framework/views \
27
+ storage/framework/cache
27
28
28
29
RUN chmod -R 777 /lumen
29
30
You can’t perform that action at this time.
0 commit comments