Dockerfile 요약표 Dockerfile은 컨테이너를 빌드하는 데 필요한 지침과 컨테이너 실행 시 수행될 명령을 제공합니다. 상속 (Inheritance) FROM ruby:2.2.2 변수 ENV APP_HOME /myapp RUN mkdir $APP_HOME 초기화 RUN bundle install WORKDIR /myapp Onbuild ONBUILD RUN bundle install # when used with another file 명령 EXPOSE 5900 CMD ["bundle", "exec", "rails", "server"]