Skip to content

Commit bacd800

Browse files
committed
Added dockerfile
1 parent e819a93 commit bacd800

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM php:8.3-cli
2+
3+
RUN apt-get update && apt-get install -y \
4+
curl \
5+
unzip \
6+
&& rm -rf /var/lib/apt/lists/*
7+
8+
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
9+
10+
WORKDIR /app
11+
12+
COPY composer.json ./
13+
14+
RUN composer install --prefer-dist --no-progress --no-scripts
15+
16+
COPY . .
17+
18+
CMD ["./vendor/bin/phpunit"]

0 commit comments

Comments
 (0)