add node
This commit is contained in:
@@ -34,7 +34,10 @@ RUN apt-get update; \
|
||||
zlib1g-dev \
|
||||
libicu-dev \
|
||||
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 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 docker-php-ext-enable redis openswoole
|
||||
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
|
||||
WORKDIR /app
|
||||
RUN chown -R octane:octane .
|
||||
|
||||
Reference in New Issue
Block a user