3snet.test/docker/php-fpm/Dockerfile

12 lines
268 B
Docker
Raw Permalink Normal View History

2024-10-05 05:18:21 +02:00
FROM php:8.3-fpm-alpine3.20
2022-01-08 13:15:26 +01:00
WORKDIR /app
2024-10-05 05:18:21 +02:00
RUN apk add supervisor
2022-01-08 13:15:26 +01:00
RUN docker-php-ext-install pdo pdo_mysql
2024-10-05 05:18:21 +02:00
COPY crontab.txt /etc/cron.d/update-users
RUN cat /etc/cron.d/update-users >> /etc/crontabs/root
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]