Push up to ruby 2.5.3 on Alpine 3.8

This commit is contained in:
2018-11-04 22:08:22 +11:00
parent 1278da8a19
commit 9117b3a494
4 changed files with 8 additions and 4 deletions

5
.dockerignore Normal file
View File

@@ -0,0 +1,5 @@
.git
.gitignore
.dockerignore
Dockerfile
README.md

View File

@@ -1,4 +1,4 @@
FROM ruby:2.5.1-alpine3.7
FROM ruby:2.5-alpine
RUN apk add --no-cache \
git \
@@ -21,10 +21,9 @@ ENV NODE_ENV production
RUN git clone https://github.com/snibox/snibox.git /app && cd /app && git reset --hard $GIT_HASH
COPY Gemfile ./
COPY . /app
RUN gem install bundler && bundle install
COPY database.yml ./config/
COPY application.rb ./config/
VOLUME /app/db/database