This commit is contained in:
2024-07-09 16:48:04 +03:30
parent aee70f1ccd
commit a1864fe026

View File

@@ -34,7 +34,10 @@ RUN apt-get update; \
zlib1g-dev \ zlib1g-dev \
libicu-dev \ libicu-dev \
g++ \ g++ \
libc-ares-dev libc-ares-dev \
libnss3 libatk1.0-0 \
libcups2 libdrm2 libxkbcommon0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 \
libpango1.0.0 libcairo2 libasound2 libxfixes3 libatk-bridge2.0.0
RUN docker-php-ext-configure zip RUN docker-php-ext-configure zip
RUN docker-php-ext-configure intl RUN docker-php-ext-configure intl
@@ -44,7 +47,8 @@ RUN pecl install redis
RUN pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-hook-curl="yes" enable-cares="yes" with-postgres="yes"' openswoole RUN pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-hook-curl="yes" enable-cares="yes" with-postgres="yes"' openswoole
RUN docker-php-ext-enable redis openswoole RUN docker-php-ext-enable redis openswoole
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
RUN apt-get install -y nodejs RUN apt-get install -y nodejs build-essential
RUN npm install -g npm
RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-user-group -g 1000 -u 1000 octane RUN groupadd --force -g 1000 octane && useradd -ms /bin/bash --no-log-init --no-user-group -g 1000 -u 1000 octane
WORKDIR /app WORKDIR /app
RUN chown -R octane:octane . RUN chown -R octane:octane .