mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-15 02:21:42 +00:00
2.5.7
This commit is contained in:
parent
075c47f0c7
commit
b4f2ba3dbf
2 changed files with 4 additions and 0 deletions
|
@ -57,6 +57,9 @@ RUN bundle clean
|
|||
FROM sutty/monit:latest
|
||||
ENV RAILS_ENV production
|
||||
|
||||
# Chequear que la versión de ruby sea la correcta
|
||||
RUN test "2.5.7" = `ruby -e 'puts RUBY_VERSION'`
|
||||
|
||||
# Instalar las dependencias, separamos la librería de base de datos para
|
||||
# poder reutilizar este primer paso desde otros contenedores
|
||||
RUN apk add --no-cache libxslt libxml2 tzdata ruby ruby-bundler ruby-json ruby-bigdecimal ruby-rake
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -14,6 +14,7 @@ git_source(:github) do |repo_name|
|
|||
"https://github.com/#{repo_name}.git"
|
||||
end
|
||||
|
||||
# Cambiar en Dockerfile también
|
||||
ruby '2.5.7'
|
||||
|
||||
gem 'dotenv-rails', require: 'dotenv/rails-now'
|
||||
|
|
Loading…
Reference in a new issue