remove compose file to another repo

This commit is contained in:
2025-05-05 15:30:11 +03:30
parent 02ef3ae2ad
commit 3b739558ee
179 changed files with 130 additions and 341 deletions

34
Dockerfile Normal file
View File

@@ -0,0 +1,34 @@
FROM docker.arvancloud.ir/php:8.3-fpm-alpine3.21
# Install common php extension dependencies
RUN apk update && apk add --no-cache \
bash \
nano \
curl \
libpng \
libpng-dev \
libjpeg-turbo-dev \
libwebp \
libwebp-dev \
libxml2-dev \
unzip \
libzip-dev \
libpq-dev \
&& docker-php-ext-install pdo_pgsql
# Set the working directory
WORKDIR /var/www/crm
COPY . .
RUN chmod -R 777 /var/www/crm/storage /var/www/crm/bootstrap/cache
# install composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
# Set the default command to run php-fpm
CMD composer install;\
php artisan key:generate;\
php artisan migrate ;\
php artisan db:seed;\
php-fpm