Deployment: Fix Docker build failure by adding zip extension and .dockerignore
Some checks failed
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
Tests / PHP 8.5 (push) Has been cancelled

This commit is contained in:
2026-05-21 04:09:00 +00:00
parent ffbfde943c
commit a5af277294
2 changed files with 26 additions and 1 deletions

22
.dockerignore Normal file
View File

@@ -0,0 +1,22 @@
.git
.github
node_modules
vendor
.env
.env.*
!.env.example
bootstrap/cache/*.php
storage/framework/cache/*
storage/framework/sessions/*
storage/framework/views/*
storage/logs/*
database/*.sqlite
public/build
README.md
CHANGELOG.md
TASKS_ROADMAP.md
AGENTS.md
PROGRESS.md
SOP_des.md
SYSTEM_ASSESSMENT_PROPOSALS.md
UI_DESIGN_BRIEF.md

View File

@@ -19,6 +19,8 @@ RUN apk add --no-cache \
freetype-dev \
oniguruma-dev \
libxml2-dev \
icu-dev \
libzip-dev \
zip \
unzip \
curl
@@ -34,7 +36,8 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg \
exif \
gd \
intl \
opcache
opcache \
zip
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer