Skip to content

Commit

Permalink
updated node setup instructions?
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Lerner committed Sep 16, 2024
1 parent b7ea1d1 commit 0d3bd0c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ ADD hourglass.conf /etc/nginx/sites-enabled/hourglass.conf

RUN apt-get update
RUN apt-get install -y ca-certificates curl gnupg graphviz openjdk-17-jdk-headless
RUN mkdir -p /etc/apt/keyrings
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor --no-tty -o /etc/apt/keyrings/nodesource.gpg
ENV NODE_MAJOR=20
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
RUN curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh
RUN bash nodesource_setup.sh
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
WORKDIR /home/app/hourglass
COPY Gemfile /home/app/hourglass/Gemfile
Expand Down

0 comments on commit 0d3bd0c

Please sign in to comment.