Deployment: Fix Docker build failure by adding zip extension and .dockerignore
This commit is contained in:
22
.dockerignore
Normal file
22
.dockerignore
Normal 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
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user