From 66ae823cf1f921e3dc863c594ca2a707cf5e2d06 Mon Sep 17 00:00:00 2001 From: Mohamed Youssef Date: Sun, 22 Mar 2026 11:15:56 +0200 Subject: [PATCH] fix composer package --- .gitignore | 3 ++- Dockerfile | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 451fb35..af28d7a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ .env -.idea \ No newline at end of file +.idea +/www \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 80f1282..ad73115 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,10 @@ RUN install-php-extensions \ tokenizer \ simplexml +# Install Composer +COPY --from=composer:2 /usr/bin/composer /usr/bin/composer +RUN chmod +x /usr/bin/composer + # ------------------------- # Node.js layer # ------------------------- @@ -72,10 +76,6 @@ FROM base AS opencart RUN install-php-extensions \ mysqli - -# Install Composer -COPY --from=composer:2 /usr/bin/composer /usr/bin/composer - # Fix permissions for storage & cache (FrankenPHP runs as UID 65534 = nobody) RUN if [ -d /app/storage ]; then chown -R 65534:65534 /app/storage /app/bootstrap/cache; fi