ci(queue): separate worker, fornt-end and php

This commit is contained in:
Anatoliy Poloz
2024-03-05 09:57:23 +03:00
parent 7e4da4b574
commit 81d7132a4f
8 changed files with 104 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
FROM phpdockerio/php:8.2-fpm
WORKDIR "/application"
RUN curl -sL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get update && \
apt-get -y --no-install-recommends install \
git \
php8.2-gd \
php8.2-mysql \
php8.2-sqlite3 \
php8.2-pgsql \
nodejs && npm install -g npm@10.1.0 \
apt-get clean; \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
ENV PATH=node_modules/.bin:$PATH