2024-02-16 15:20:54 +03:00
|
|
|
FROM ubuntu:22.04
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
ENV TZ=Europe/Moscow
|
|
|
|
ENV PATH=node_modules/.bin:$PATH
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
2024-02-16 15:47:08 +03:00
|
|
|
RUN add-apt-repository ppa:ondrej/php -y
|
|
|
|
|
2024-02-16 15:20:54 +03:00
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
make \
|
|
|
|
curl \
|
|
|
|
git \
|
|
|
|
libpq-dev \
|
|
|
|
libzip-dev \
|
|
|
|
sqlite3 \
|
|
|
|
unzip \
|
|
|
|
zip \
|
2024-02-16 15:38:13 +03:00
|
|
|
php8.3 \
|
|
|
|
php8.3-bcmath \
|
|
|
|
php8.3-exif \
|
|
|
|
php8.3-pdo \
|
|
|
|
php8.3-pgsql \
|
|
|
|
php8.3-pgsql \
|
|
|
|
php8.3-zip \
|
|
|
|
php8.3-xdebug \
|
|
|
|
php8.3-dom \
|
|
|
|
php8.3-xml \
|
|
|
|
php8.3-mbstring \
|
|
|
|
php8.3-sqlite3 \
|
|
|
|
php8.3-curl
|
2024-02-16 15:20:54 +03:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
|
|
software-properties-common \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
|
|
|
COPY ./xdebug.ini /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
|
|
|
|
|
|
|
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
|
|
|
RUN apt-get update && apt-get install -y nodejs
|
|
|
|
|
|
|
|
ENV PATH=node_modules/.bin:$PATH
|