Files
lastwar/docker/Dockerfile

20 lines
477 B
Docker
Executable File

FROM php:8.2-cli
RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libzip-dev \
unzip \
supervisor \
nano \
&& pecl install curl \
&& docker-php-ext-enable curl \
&& docker-php-ext-install pdo_mysql zip \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html
CMD ["/usr/bin/supervisord", "-c", "/var/www/html/docker/supervisord.conf"]