Adds dockerfile

This commit is contained in:
Nemo 2018-06-01 01:45:19 +05:30
부모 292f455cb0
커밋 7d9ab1c7a3
2개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제

4
.dockerignore Normal file
파일 보기

@ -0,0 +1,4 @@
vendor
.env
.git
Dockerfile

10
Dockerfile Normal file
파일 보기

@ -0,0 +1,10 @@
FROM ruby:alpine
MAINTAINER Nemo <opml.docker@captnemo.in>
WORKDIR /app
COPY Gemfile Gemfile.lock /app/
RUN bundle install
COPY . /app
ENTRYPOINT ["bundle exec rackup"]