From 10a3c35d3f88ca04690318b9c2b8de17df5cc8b1 Mon Sep 17 00:00:00 2001 From: Sink Date: Sun, 17 Nov 2024 15:19:41 +0800 Subject: [PATCH] feat: #58 laravel 11 need npm --- src/stubs/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/stubs/Dockerfile b/src/stubs/Dockerfile index 483309b3..d047978d 100644 --- a/src/stubs/Dockerfile +++ b/src/stubs/Dockerfile @@ -6,13 +6,14 @@ RUN curl -o /usr/local/bin/composer https://getcomposer.org/download/latest-stab && chmod +x /usr/local/bin/composer # hadolint ignore=DL3008 -RUN apt-get update \ +RUN curl -sL https://deb.nodesource.com/setup_22.x | bash - \ && apt-get install --no-install-recommends -y \ cron \ icu-devtools \ jq \ libfreetype6-dev libicu-dev libjpeg62-turbo-dev libpng-dev libpq-dev \ libsasl2-dev libssl-dev libwebp-dev libxpm-dev libzip-dev libzstd-dev \ + nodejs \ unzip \ zlib1g-dev \ && apt-get clean \