FROM ruby:2.3-slim MAINTAINER Ray Lee RUN apt-get update -qq && apt-get install -y build-essential ENV LANG=C.UTF-8 ENV PROJECT_ROOT /multi-lang-trans RUN mkdir -p $PROJECT_ROOT WORKDIR $PROJECT_ROOT COPY . . RUN gem install nokogiri VOLUME ["$PROJECT_ROOT/input", "$PROJECT_ROOT/output", "$PROJECT_ROOT/template"] CMD ruby main.rb