3 # Add yarn apt repository
4 # https://classic.yarnpkg.com/en/docs/install#debian-stable
5 RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
6 echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
8 # Install system packages
9 RUN apt-get update && \
10 apt-get install --no-install-recommends -y \
28 rm -rf /var/lib/apt/lists/*
34 # Install Ruby packages
35 ADD Gemfile Gemfile.lock /app/
38 # Install NodeJS packages
39 ADD package.json yarn.lock /app/