5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-14 23:11:42 +00:00
This commit is contained in:
f 2019-11-15 10:07:15 -03:00
parent 075c47f0c7
commit b4f2ba3dbf
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D
2 changed files with 4 additions and 0 deletions

View file

@ -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

View file

@ -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'