updates around README, .env, Dockerfile

This commit is contained in:
2024-03-31 21:01:36 +03:00
parent 4700578b1a
commit fa5cfab7f5
5 changed files with 26 additions and 18 deletions
+13 -2
View File
@@ -1,12 +1,23 @@
FROM php:8.2-fpm
RUN apt-get update && apt-get install -y \
libpq-dev \
libzip-dev \
unzip \
libonig-dev \
libxml2-dev && \
libxml2-dev \
curl gpg && \
docker-php-ext-install -j$(nproc) pdo pdo_pgsql zip mbstring pcntl
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash ;\
apt-get update; \
apt-get install -y nodejs
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" \
&& php composer-setup.php --install-dir=/usr/local/bin --filename=composer \
&& php -r "unlink('composer-setup.php');"
&& php -r "unlink('composer-setup.php');"
WORKDIR /var/www/trial
COPY ./app/composer.json ./app/composer.lock ./app/package.json ./app/yarn.lock ./app/symfony.lock ./
RUN composer install && npm install -g yarn -y && yarn install