-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lock Dockerfile to Version 2.5.3 (#7)
- Loading branch information
1 parent
2b72059
commit 9c923c9
Showing
4 changed files
with
47 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,25 @@ | ||
FROM ruby AS base | ||
FROM ruby:2.5.3 AS base | ||
|
||
WORKDIR /usr/src/app | ||
|
||
RUN gem install bundler | ||
|
||
COPY Gemfile /usr/src/app/ | ||
|
||
FROM base AS development | ||
|
||
RUN bundle install -j5 --without staging production | ||
|
||
COPY . /usr/src/app | ||
|
||
FROM base AS release | ||
|
||
RUN bundle install -j5 --without development test | ||
|
||
RUN chmod 755 ./usr/src/app | ||
|
||
RUN chmod 755 ./usr/src/app/bin/setup | ||
|
||
COPY . /usr/src/app | ||
|
||
CMD puma |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module Natra | ||
VERSION = '0.0.7'.freeze | ||
VERSION = '0.0.8'.freeze | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters