first commit

This commit is contained in:
f4ilji
2024-09-19 16:06:49 +05:00
commit b686638a39
1664 changed files with 428174 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
FROM php:8.2-fpm
RUN apt-get update && apt-get install -y \
apt-utils \
libpq-dev \
libpng-dev \
libjpeg-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libmcrypt-dev \
libgd-dev \
libpng-dev \
libwebp-dev \
libzip-dev \
zip \
unzip \
git && \
docker-php-ext-configure gd --with-webp --with-jpeg && \
docker-php-ext-install gd && \
docker-php-ext-install pdo_mysql && \
docker-php-ext-install bcmath && \
docker-php-ext-install zip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#RUN apt-get update && \
# apt-get install -y libmagickwand-dev
#
#RUN pecl install imagick
#
#RUN docker-php-ext-enable imagick
RUN apt-get update && apt-get install -y zlib1g-dev libicu-dev g++
RUN docker-php-ext-configure intl
RUN docker-php-ext-install intl
COPY ./_docker/app/php.ini /usr/local/etc/php/conf.d/php.ini
# Установка Node.js
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
RUN apt-get install -y nodejs npm
EXPOSE 6001
EXPOSE 5173
ENV COMPOSER_ALLOW_SUPERUSER=1
RUN curl -sS https://getcomposer.org/installer | php -- \
--filename=composer \
--install-dir=/usr/local/bin
WORKDIR /var/www
+3
View File
@@ -0,0 +1,3 @@
post_max_size = 128M
upload_max_filesize = 128M
memory_limit = 256M