PHP Classes

File: Dockerfile

Recommend this page to a friend!
  Classes of Hicri   Laravel Simple Docker   Dockerfile   Download  
File: Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Laravel Simple Docker
Run example Laravel API application using Docker
Author: By
Last change:
Date: 1 month ago
Size: 631 bytes
 

Contents

Class file image Download
FROM php:8.2-fpm ARG user=person ARG uid=1000 RUN apt-get update && apt-get install -y \ git \ curl \ libpng-dev \ libonig-dev \ libxml2-dev \ zip \ unzip RUN apt-get clean && rm -rf /var/lib/apt/lists/* RUN docker-php-ext-install pdo_mysql mbstring exif pcntl bcmath gd sockets COPY --from=composer:latest /usr/bin/composer /usr/bin/composer RUN useradd -G www-data,root -u $uid -d /home/$user $user RUN mkdir -p /home/$user/.composer && \ chown -R $user:$user /home/$user WORKDIR /app #RUN chmod -R 777 storage/ COPY docker/php/custom.ini /usr/local/etc/php/conf.d/custom.ini USER $user