Browse Source

Adds dockerfile

master
Nemo 1 year ago
parent
commit
7d9ab1c7a3
2 changed files with 14 additions and 0 deletions
  1. 4
    0
      .dockerignore
  2. 10
    0
      Dockerfile

+ 4
- 0
.dockerignore View File

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

+ 10
- 0
Dockerfile View 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"]

Loading…
Cancel
Save