mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2025-12-06 17:09:39 +01:00
Update Node version
This commit is contained in:
@@ -2,7 +2,7 @@ FROM php:8.1-fpm
|
||||
ARG WORKDIR=/var/www/html
|
||||
ENV DOCUMENT_ROOT=${WORKDIR}
|
||||
ENV LARAVEL_PROCS_NUMBER=1
|
||||
ENV NODE_VERSION=16.x
|
||||
ENV NODE_VERSION=17.x
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
@@ -24,9 +24,9 @@ RUN apt-get update && apt-get install -y \
|
||||
nano \
|
||||
cron
|
||||
|
||||
#RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
|
||||
# Install Node
|
||||
#RUN apt-get install -y nodejs
|
||||
RUN apt-get install -y nodejs
|
||||
# Clear cache
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
# Install Kafka
|
||||
|
||||
Reference in New Issue
Block a user