feat: establish reservation portal foundation

This commit is contained in:
2026-08-04 15:24:08 +01:00
commit c96264ae96
226 changed files with 32232 additions and 0 deletions

22
Dockerfile Normal file
View File

@@ -0,0 +1,22 @@
FROM php:8.4-fpm-alpine AS php-base
RUN apk add --no-cache \
icu-dev libzip-dev linux-headers nodejs npm postgresql-dev sqlite-dev $PHPIZE_DEPS \
&& docker-php-ext-install -j"$(nproc)" intl opcache pcntl pdo_pgsql pdo_sqlite zip \
&& pecl install redis \
&& docker-php-ext-enable redis \
&& apk del $PHPIZE_DEPS linux-headers
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
WORKDIR /var/www/html
COPY docker/php.ini /usr/local/etc/php/conf.d/portal.ini
COPY composer.json composer.lock ./
RUN composer install --no-interaction --prefer-dist --no-scripts
COPY . .
RUN composer dump-autoload --optimize \
&& chown -R www-data:www-data storage bootstrap/cache
CMD ["php-fpm"]