update dockerfile
Some checks failed
Some checks failed
This commit is contained in:
@@ -9,6 +9,8 @@ RUN apk add --no-cache \
|
||||
libpng-dev \
|
||||
libjpeg-turbo-dev \
|
||||
freetype-dev \
|
||||
libxml2-dev \
|
||||
icu-dev \
|
||||
oniguruma-dev \
|
||||
git \
|
||||
curl \
|
||||
@@ -23,7 +25,10 @@ RUN apk add --no-cache \
|
||||
bcmath \
|
||||
gd \
|
||||
exif \
|
||||
pcntl
|
||||
pcntl \
|
||||
xml \
|
||||
dom \
|
||||
intl
|
||||
|
||||
# Configure git to allow safe directory
|
||||
RUN git config --global --add safe.directory /var/www/html
|
||||
@@ -34,7 +39,7 @@ COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||
WORKDIR /var/www/html
|
||||
|
||||
# Copy ONLY composer files first
|
||||
COPY composer.json ./
|
||||
COPY composer.json composer.lock ./
|
||||
|
||||
# Create storage and bootstrap directories needed for composer scripts
|
||||
RUN mkdir -p storage/framework/cache \
|
||||
|
||||
Reference in New Issue
Block a user