OSDN Git Service

Regular updates
[twpd/master.git] / Dockerfile
1 FROM ruby:2.7.1
2 RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
3 RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
4 RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
5 RUN apt-get update -qq && apt-get install -qq --no-install-recommends \
6     nodejs \
7     yarn \
8   && apt-get clean \
9   && rm -rf /var/lib/apt/lists/*
10 RUN mkdir -p /app
11 WORKDIR /app