diff --git a/Dockerfile b/Dockerfile index 0f5cb45..512fdb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,11 @@ RUN apk add --no-cache \ php84-tokenizer \ php84-xml \ php84-xmlwriter \ + php84-xmlreader \ + php84-dom \ php84-session \ + php84-fileinfo \ + php84-openssl \ git \ curl @@ -23,13 +27,13 @@ RUN ln -sf /usr/bin/php84 /usr/bin/php WORKDIR /var/www -# Copy with explicit error handling -COPY --chown=root:root . /var/www || true +# Copy the application files +COPY --chown=root:root . . COPY --from=docker.io/composer:latest /usr/bin/composer /usr/bin/composer -RUN rm -rf /app/.circleci /app/.github 2>/dev/null || true && \ - chmod -R 775 /app/storage /app/bootstrap/cache 2>/dev/null || true +RUN rm -rf .circleci .github 2>/dev/null || true && \ + chmod -R 775 storage bootstrap/cache 2>/dev/null || true EXPOSE 8000