uppercese category qoshildi

This commit is contained in:
2026-04-06 05:00:32 +05:00
parent df3d57f503
commit 50e72d171f
2 changed files with 16 additions and 11 deletions

11
.claude/settings.json Normal file
View File

@@ -0,0 +1,11 @@
{
"permissions": {
"allow": [
"Bash(grep \"App\\\\\\\\\\\\\\\\\" /Users/uzmacbook/felix/sifatbaho-php/database/migrations/*.php)",
"Bash(docker exec:*)",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8005/)",
"Bash(curl -v http://localhost:8005/)",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:8005/login)"
]
}
}

View File

@@ -1,4 +1,4 @@
FROM php:8.2-fpm-buster FROM php:8.2-fpm-bullseye
WORKDIR /var/www WORKDIR /var/www
@@ -10,19 +10,14 @@ RUN apt-get update && apt-get install -y \
zip unzip \ zip unzip \
git \ git \
libmagickwand-dev --no-install-recommends && \ libmagickwand-dev --no-install-recommends && \
docker-php-ext-install bcmath && \ docker-php-ext-install bcmath gd zip && \
docker-php-ext-install gd && \ docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql && \
docker-php-ext-install zip && \ docker-php-ext-install pdo pdo_pgsql pgsql && \
pecl install imagick && \ pecl install imagick && \
docker-php-ext-enable imagick && \ docker-php-ext-enable imagick && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Install Postgre PDO
RUN apt-get install -y libpq-dev \
&& docker-php-ext-configure pgsql -with-pgsql=/usr/local/pgsql \
&& docker-php-ext-install pdo pdo_pgsql pgsql
COPY _docker/app/php.ini /usr/local/etc/php/conf.d/php.ini COPY _docker/app/php.ini /usr/local/etc/php/conf.d/php.ini
COPY app /var/www/app COPY app /var/www/app
@@ -47,13 +42,12 @@ RUN curl -sS https://getcomposer.org/installer | php -- \
# alias # alias
RUN echo "alias a='artisan'" >> /root/.bashrc RUN echo "alias a='artisan'" >> /root/.bashrc
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
RUN apt-get install -y nodejs RUN apt-get install -y nodejs
RUN composer install \ RUN composer install \
--no-interaction \ --no-interaction \
--no-plugins \ --no-plugins \
--no-suggest \
--no-scripts \ --no-scripts \
--no-autoloader \ --no-autoloader \
--prefer-dist --prefer-dist