fix build
All checks were successful
Build / build (push) Successful in 2m54s

This commit is contained in:
Ivo Spijkerman
2025-08-31 21:39:32 +02:00
parent 069b57c7b3
commit bca9875949
5 changed files with 72 additions and 73 deletions

View File

@@ -1,5 +1,4 @@
# Multi-stage build for smaller final image
FROM php:8.4-fpm-alpine AS base
FROM php:8.4-fpm-alpine
# Install system dependencies
RUN apk add --no-cache \
@@ -14,12 +13,12 @@ RUN apk add --no-cache \
libjpeg-turbo-dev \
freetype-dev \
libzip-dev \
postgresql-dev \
mysql-client
mysql-client \
icu-dev
# Install PHP extensions
RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install pdo pdo_mysql pdo_pgsql mbstring exif pcntl bcmath gd zip
&& docker-php-ext-install pdo pdo_mysql mbstring exif pcntl bcmath gd zip intl
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
@@ -43,7 +42,6 @@ RUN composer install --no-dev --optimize-autoloader
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache \
&& chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
EXPOSE 80
CMD ["./start.sh"]