From ce89eb1e70f91e5a044d03f9bc3d8fe32ce2ac66 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Thu, 21 Sep 2023 03:28:01 +0000 Subject: [PATCH] Install nodejs for maizzle --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 987785250..7a6c1ead3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,13 @@ RUN postconf -e "mydestination=planningalerts.org.au" # swaks --to no-reply@planningalerts.org.au --server postfix:25 RUN apt-get install -y swaks +# Install nodejs for running maizzle +RUN mkdir -p /etc/apt/keyrings +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_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list +RUN apt-get update +RUN apt-get install -y nodejs + USER deploy COPY --chown=deploy:deploy Gemfile /app/Gemfile