PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Classes of Punto Waskito   PHP CRUD API   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP CRUD API
Provide API to manipulate database table records
Author: By
Last change:
Date: 3 years ago
Size: 404 bytes
 

Contents

Class file image Download
FROM php:apache RUN docker-php-ext-install pdo pdo_mysql RUN apt-get update; \ apt-get install -y libpq5 libpq-dev; \ docker-php-ext-install pdo pdo_pgsql; \ apt-get autoremove --purge -y libpq-dev; \ apt-get clean ; \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* RUN a2enmod rewrite COPY api.php /var/www/html/api.php COPY .htaccess /var/www/html/.htaccess