Skip to content

Commit 9324854

Browse files
committed
🎉 php8.0
1 parent 3a7400f commit 9324854

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
FROM php:8.0-cli
2+
RUN apt-get update && apt-get install -y apt-utils zip unzip
3+
# Get latest Composer
4+
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
5+
COPY . /usr/src/slim-http-cache
6+
WORKDIR /usr/src/slim-http-cache
7+
CMD [ "php" ]

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}
1919
],
2020
"require": {
21-
"php": "^7.2",
21+
"php": "^7.2 | ^8.0",
2222
"psr/http-message": "^1.0",
2323
"psr/http-server-middleware": "^1.0"
2424
},

0 commit comments

Comments
 (0)