This repository has been archived on 2025-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
LaravelDockerPublisher/Dockerfile.queue

17 lines
527 B
Docker

FROM php:8.3-fpm
# 安裝必要套件與 PHP 擴充
RUN apt-get update && apt-get install -y \
git unzip zip curl libzip-dev libonig-dev libxml2-dev supervisor \
&& docker-php-ext-install pdo_mysql zip bcmath \
&& pecl install redis && docker-php-ext-enable redis
COPY ./data/html/ /var/www/html/
RUN chown -R www-data:www-data /var/www/html
WORKDIR /var/www/html
COPY ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
CMD ["supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"]