File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ ENV COMPOSER_ALLOW_SUPERUSER 1
2121RUN apk update && apk add --no-cache bash curl
2222
2323# Node.jsのインストール (バイナリ版)
24- RUN curl -fsSL https://nodejs.org/dist/v16.20.2 /node-v16.20.2 -linux-x64.tar.xz -o /tmp/node-v16.20.2 -linux-x64.tar.xz && \
25- tar -xJf /tmp/node-v16.20.2 -linux-x64.tar.xz -C /usr/local --strip-components=1 && \
26- rm /tmp/node-v16.20.2 -linux-x64.tar.xz
24+ RUN curl -fsSL https://nodejs.org/dist/v22.14.0 /node-v22.14.0 -linux-x64.tar.xz -o /tmp/node-v22.14.0 -linux-x64.tar.xz && \
25+ tar -xJf /tmp/node-v22.14.0 -linux-x64.tar.xz -C /usr/local --strip-components=1 && \
26+ rm /tmp/node-v22.14.0 -linux-x64.tar.xz
2727
2828# Node.jsのバイナリがパスに含まれていることを確認
2929ENV PATH=/usr/local/bin:$PATH
Original file line number Diff line number Diff line change @@ -28,8 +28,4 @@ php artisan db:seed --class=UserSeeder --force
2828# npm依存関係インストール
2929echo " Installing npm dependencies..."
3030cd /var/www/html
31- npm install
32-
33- # jQueryのビルド
34- echo " Running npm build..."
35- npm run production
31+ npm i
You can’t perform that action at this time.
0 commit comments