Skip to content

Commit

Permalink
Install nodejs for maizzle
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 21, 2023
1 parent ac0b884 commit ce89eb1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ RUN postconf -e "mydestination=planningalerts.org.au"
# swaks --to [email protected] --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
Expand Down

0 comments on commit ce89eb1

Please sign in to comment.