2026-05-14 04:14:55 +00:00
|
|
|
FROM php:8.4-fpm-alpine
|
|
|
|
|
|
|
|
|
|
RUN apk add --no-cache \
|
|
|
|
|
postgresql-dev \
|
|
|
|
|
icu-dev \
|
|
|
|
|
libzip-dev \
|
|
|
|
|
unzip \
|
|
|
|
|
git \
|
feat: admin panel, Mistral client, attribute management, API key command
- Fix EasyAdmin 5 routing: #[AdminDashboard] attribute + easyadmin.routes loader
- Fix login: _username/_password field names, CSRF stateless token config,
sessions directory, Opcache reload after cache:clear
- Add MistralClient behind OllamaClientInterface — switchable via services.yaml alias
- Add Attribute CRUD with EnumType form + ChoiceField display (enum-safe rendering)
- Add Article Type CRUD with AssociationField for attribute assignments
- Add app:api-keys:create console command (bcrypt-hashed, never stored as plaintext)
- Add redis ext to Docker image + symfony/redis-messenger, start workers
- Translate all UI strings to English
- Add tests: MistralClient, ApiKey, CreateApiKeyCommand, StringArrayType,
ArticleTypeCrudController, AttributeDefinitionCrudController (82 tests total)
- Update design doc: tech stack, AI backend switching guide, ops section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 20:15:13 +00:00
|
|
|
$PHPIZE_DEPS \
|
2026-05-14 04:14:55 +00:00
|
|
|
&& docker-php-ext-install \
|
|
|
|
|
pdo_pgsql \
|
|
|
|
|
intl \
|
|
|
|
|
zip \
|
feat: admin panel, Mistral client, attribute management, API key command
- Fix EasyAdmin 5 routing: #[AdminDashboard] attribute + easyadmin.routes loader
- Fix login: _username/_password field names, CSRF stateless token config,
sessions directory, Opcache reload after cache:clear
- Add MistralClient behind OllamaClientInterface — switchable via services.yaml alias
- Add Attribute CRUD with EnumType form + ChoiceField display (enum-safe rendering)
- Add Article Type CRUD with AssociationField for attribute assignments
- Add app:api-keys:create console command (bcrypt-hashed, never stored as plaintext)
- Add redis ext to Docker image + symfony/redis-messenger, start workers
- Translate all UI strings to English
- Add tests: MistralClient, ApiKey, CreateApiKeyCommand, StringArrayType,
ArticleTypeCrudController, AttributeDefinitionCrudController (82 tests total)
- Update design doc: tech stack, AI backend switching guide, ops section
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 20:15:13 +00:00
|
|
|
opcache \
|
|
|
|
|
&& pecl install redis \
|
|
|
|
|
&& docker-php-ext-enable redis \
|
|
|
|
|
&& apk del $PHPIZE_DEPS
|
2026-05-14 04:14:55 +00:00
|
|
|
|
|
|
|
|
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer
|
|
|
|
|
|
|
|
|
|
WORKDIR /var/www
|
|
|
|
|
|
|
|
|
|
COPY docker/app/php.ini /usr/local/etc/php/conf.d/app.ini
|