From 7505ebba5bfd302d9094bb22d08676058de1b40b Mon Sep 17 00:00:00 2001 From: Sumit Patel <89197795+Dark-Kernel@users.noreply.github.com> Date: Wed, 28 Jun 2023 17:42:25 +0530 Subject: [PATCH] Updated Dockerfile Added node 12.x which is required. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0571ed2f0..590277c3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,7 @@ FROM ruby:2.7.2 RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list +RUN curl -fsSL https://deb.nodesource.com/setup_12.x | bash - RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs postgresql-client yarn RUN mkdir /sample_rails_application WORKDIR /sample_rails_application @@ -14,4 +15,4 @@ RUN yarn install --check-files COPY . /sample_rails_application EXPOSE 3000 -#CMD ["rails", "server", "-b", "0.0.0.0"] \ No newline at end of file +#CMD ["rails", "server", "-b", "0.0.0.0"]