diff --git a/Dockerfile b/Dockerfile index 3aa560b..fea46ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,13 @@ FROM ruby:2.7.2 -RUN apt-get update && apt-get install -y -RUN apt-get install -y nodejs sqlite3 -RUN apt-get install npm -y +RUN apt-get update && apt-get install -y \ + curl \ + build-essential \ + curl -sL https://deb.nodesource.com/setup_12.x | bash - && \ + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \ + echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \ + apt-get update && apt-get install -y nodejs yarn sqlite3 cron + WORKDIR /code COPY . /code