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 \
27 rm -rf /var/lib/apt/lists/*
33 # Install Ruby packages
34 ADD Gemfile Gemfile.lock /app/
37 # Install NodeJS packages
38 ADD package.json yarn.lock /app/