Skip to content

Commit 63710d7

Browse files
committed
setup dockerfile
1 parent 1abae68 commit 63710d7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Dockerfile

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
FROM php:8.0-cli
2+
RUN apt-get update \
3+
&& apt-get install -y \
4+
libzip-dev \
5+
unzip \
6+
git \
7+
wget \
8+
&& docker-php-ext-install -j$(nproc) bcmath sockets \
9+
&& pecl install xdebug \
10+
&& docker-php-ext-enable xdebug && \
11+
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
12+
13+
WORKDIR /opt/project
14+
15+
16+

0 commit comments

Comments
 (0)