Skip to content

Commit b224af5

Browse files
committed
Revert "chore: docker improve cache"
This reverts commit 83d5d34.
1 parent ab2142c commit b224af5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
FROM composer:2.5.4
2-
FROM php:8.1-cli
1+
ARG PHP_VERSION=8.1
2+
ARG COMPOSER_VERSION=2.5.4
3+
4+
FROM composer:${COMPOSER_VERSION}
5+
FROM php:${PHP_VERSION}-cli
36

47
RUN apt-get update && \
58
apt-get install -y autoconf pkg-config libssl-dev git libzip-dev zlib1g-dev && \
@@ -11,10 +14,8 @@ COPY --from=composer /usr/bin/composer /usr/local/bin/composer
1114

1215
WORKDIR /code
1316

14-
COPY composer.* ./
17+
COPY . .
1518

1619
RUN composer install
1720

18-
COPY ./ ./
19-
2021
CMD ["./vendor/bin/phpunit"]

0 commit comments

Comments
 (0)