123456789101112131415161718192021 |
- FROM ruby:2.3-slim
- MAINTAINER Ray Lee <ray-lee@kdanmobile.com>
- 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
|