This commit is contained in:
2026-04-06 19:02:37 +05:00
parent d775fbb9ba
commit fd001421ce
2 changed files with 11 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ RUN apk add --no-cache \
oniguruma-dev \
icu-dev \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
&& docker-php-ext-install \
&& docker-php-ext-install -j$(nproc) \
pdo_mysql \
mbstring \
gd \
@@ -70,7 +70,9 @@ RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cac
COPY docker/nginx/default.conf /etc/nginx/http.d/default.conf
COPY docker/php/php.ini $PHP_INI_DIR/conf.d/app.ini
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY docker/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 80
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
CMD ["/entrypoint.sh"]