File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change
1
+ FROM php:8.2-cli
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends zip libzip-dev libpspell-dev && \
5
+ docker-php-ext-install zip pspell
6
+
7
+ RUN curl --silent --show-error https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
8
+
9
+ RUN mkdir -p /app
10
+
11
+ COPY ./ /app
12
+
13
+ RUN composer --working-dir=/app install
14
+
15
+ RUN cd /app && SKIP_TEST=1 ./vendor/bin/phpunit -d memory_limit=1G
16
+
17
+ CMD ["/bin/sh"]
Original file line number Diff line number Diff line change 20
20
"files" : [" tests/TestBaseCase.php" ]
21
21
},
22
22
"require" : {
23
- "php" : " ~ 7.4|~8.0 " ,
23
+ "php" : " >= 7.4" ,
24
24
"yooper/stop-words" : " ~1" ,
25
25
"symfony/console" : " >= 4.4" ,
26
26
"wamania/php-stemmer" : " ~1" ,
You can’t perform that action at this time.
0 commit comments