1
0
Fork 0
mirror of https://github.com/Alamantus/Lexiconga.git synced 2025-07-12 02:15:55 +02:00
Lexiconga/Dockerfile

16 lines
No EOL
629 B
Docker

FROM php:8.2-apache
# Enable Apache modules
RUN a2enmod rewrite
# Install composer dependencies
RUN apt update && apt upgrade -y && apt install -y git curl libzip-dev zip unzip
# Install Node
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
RUN apt update && apt-get install -y nodejs
# Install any extensions you need
RUN docker-php-ext-install mysqli pdo pdo_mysql zip
# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
# Set the working directory to /var/www
WORKDIR /var/www
# Copy the source code into the container at /var/www
COPY ./ .