This commit is contained in:
parent
8dfb598c18
commit
1e33939e12
@ -1,5 +1,8 @@
|
|||||||
FROM php:8.2-apache
|
FROM php:8.2-apache
|
||||||
|
|
||||||
|
COPY . /var/www/project/
|
||||||
|
COPY ./.docker/hosts/file-explorer.conf /etc/apache2/sites-enabled/file-explorer.conf
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -qq -y --no-install-recommends \
|
&& apt-get install -qq -y --no-install-recommends \
|
||||||
cron \
|
cron \
|
||||||
@ -15,7 +18,6 @@ RUN docker-php-ext-configure intl
|
|||||||
RUN docker-php-ext-install pdo pdo_mysql mysqli gd opcache intl zip calendar dom mbstring zip gd xsl && a2enmod rewrite
|
RUN docker-php-ext-install pdo pdo_mysql mysqli gd opcache intl zip calendar dom mbstring zip gd xsl && a2enmod rewrite
|
||||||
RUN pecl install apcu && docker-php-ext-enable apcu
|
RUN pecl install apcu && docker-php-ext-enable apcu
|
||||||
|
|
||||||
COPY . /var/www/project/
|
RUN composer install --no-dev --no-install-recommends --no-interaction --no-progress --no-suggest --optimize-autoloader
|
||||||
COPY ./.docker/hosts/file-explorer.conf /etc/apache2/sites-enabled/file-explorer.conf
|
|
||||||
|
|
||||||
WORKDIR /var/www
|
WORKDIR /var/www
|
||||||
|
Loading…
x
Reference in New Issue
Block a user