zeninstall/Dockerfile

18 lines
374 B
Docker

FROM ruby:slim as base
WORKDIR /usr/src
RUN apt update &&\
apt install --yes git curl build-essential whois
RUN curl -sL https://deb.nodesource.com/setup_current.x | bash - &&\
apt-get update && \
apt-get install --yes --no-install-recommends nodejs &&\
npm install -g yarn \
apt-get clean
RUN gem install rails
# RUN gem install rails
CMD ["bash"]