Update Node version

This commit is contained in:
2022-11-01 10:10:29 +02:00
parent edee5acd89
commit e76fed931e

View File

@@ -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