GildedRose-Refactoring-Kata/Dockerfile

9 lines
249 B
Docker

FROM ruby:2.7
# define the environment variable install path
ENV INSTALL_PATH /opt/app/
# copy files from ruby folder into the container
COPY ruby/ $INSTALL_PATH
# install RSpec
RUN gem install rspec
# set the working directory
WORKDIR $INSTALL_PATH