mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-06 13:39:42 +01:00
Add Nodejs
This commit is contained in:
@@ -4,6 +4,7 @@ ENV DOCUMENT_ROOT=${WORKDIR}
|
|||||||
ENV LARAVEL_PROCS_NUMBER=1
|
ENV LARAVEL_PROCS_NUMBER=1
|
||||||
ENV DOMAIN=_
|
ENV DOMAIN=_
|
||||||
ENV CLIENT_MAX_BODY_SIZE=15M
|
ENV CLIENT_MAX_BODY_SIZE=15M
|
||||||
|
ENV NODE_VERSION=16.x
|
||||||
# Install system dependencies
|
# Install system dependencies
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
git \
|
git \
|
||||||
@@ -24,6 +25,10 @@ RUN apt-get update && apt-get install -y \
|
|||||||
sqlite3 \
|
sqlite3 \
|
||||||
nano \
|
nano \
|
||||||
cron
|
cron
|
||||||
|
|
||||||
|
RUN curl -fsSL https://deb.nodesource.com/setup_${NODE_VERSION} | bash -
|
||||||
|
# Install Node
|
||||||
|
RUN apt-get install -y nodejs
|
||||||
# Install nginx
|
# Install nginx
|
||||||
RUN apt-get update && apt-get install -y nginx
|
RUN apt-get update && apt-get install -y nginx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user