mirror of
https://github.com/jkaninda/laravel-php-fpm.git
synced 2026-01-24 00:09:01 +01:00
Update Node version, refactoring
This commit is contained in:
@@ -25,7 +25,7 @@ RUN apt-get update && apt-get install -y \
|
||||
sqlite3 \
|
||||
nano \
|
||||
cron
|
||||
|
||||
# Install Nodejs
|
||||
RUN apt-get update && apt-get install -y ca-certificates curl gnupg
|
||||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
|
||||
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
|
||||
|
||||
Reference in New Issue
Block a user