From 08fe589ad648ec71d1dca550164e3cad8df8efc9 Mon Sep 17 00:00:00 2001 From: Jp Date: Thu, 26 Feb 2026 13:54:47 +0800 Subject: [PATCH] test --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5acae59..e05b560 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,22 +17,24 @@ RUN apk add --no-cache \ php84-xml \ php84-xmlwriter \ php84-session \ + git \ curl # Create a symlink so 'php' command works RUN ln -sf /usr/bin/php84 /usr/bin/php -# Set working directory early +# Set working directory WORKDIR /app -# Copy application files explicitly from the context +# Copy application files COPY . /app # Get Composer COPY --from=docker.io/composer:latest /usr/bin/composer /usr/bin/composer -# Laravel permission fix -RUN chmod -R 775 /app/storage /app/bootstrap/cache +# Clean up unnecessary directories and fix permissions +RUN rm -rf /app/.circleci /app/.github && \ + chmod -R 775 /app/storage /app/bootstrap/cache EXPOSE 8000