PHP Classes

File: backend/Dockerfile

Recommend this page to a friend!
  Classes of Edward Paul   Task List   backend/Dockerfile   Download  
File: backend/Dockerfile
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Task List
Manage and share a list of tasks
Author: By
Last change:
Date: 23 days ago
Size: 561 bytes
 

Contents

Class file image Download
FROM php:8.3-fpm WORKDIR /var/www RUN apt-get update && apt-get install -y \ git \ unzip \ curl \ libpng-dev \ libonig-dev \ libxml2-dev \ zip \ libzip-dev \ && docker-php-ext-install pdo_mysql mbstring zip exif pcntl COPY --from=composer:2.6 /usr/bin/composer /usr/bin/composer COPY . /var/www RUN composer install --optimize-autoloader RUN chown -R www-data:www-data /var/www EXPOSE 9001 CMD ["sh", "-c", "php artisan migrate --force && php artisan db:seed --force && php artisan serve --host=0.0.0.0 --port=9001"]