PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Packages of Wesley Silva   Data Processor   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Data Processor
Import and export data from XLSX, ODS or CSV files
Author: By
Last change:
Date: 10 months ago
Size: 719 bytes
 

Contents

Class file image Download
FROM php:8.3-cli # Install system dependencies RUN apt-get update \ && apt-get install -y --no-install-recommends \ git \ unzip \ libzip-dev \ zlib1g-dev \ libxml2-dev \ libicu-dev \ libonig-dev \ && docker-php-ext-install zip xml intl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* # Install Composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer WORKDIR /app # Copy composer manifests and install dependencies COPY composer.json phpunit.xml ./ RUN composer install --prefer-dist --no-interaction --no-progress # Copy application source COPY . . # Default command to run tests CMD ["vendor/bin/phpunit", "--colors=always"]