diff --git a/.ruby-version b/.ruby-version index ef538c2..0aec50e 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.1.2 +3.1.4 diff --git a/Dockerfile b/Dockerfile index ab5d1bc..5475b23 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax = docker/dockerfile:1 # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile -ARG RUBY_VERSION=3.1.2 +ARG RUBY_VERSION=3.1.4 FROM ruby:$RUBY_VERSION-slim as base LABEL fly_launch_runtime="rails" @@ -24,7 +24,7 @@ FROM base as build # Install packages needed to build gems RUN apt-get update -qq && \ - apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config + apt-get install --no-install-recommends -y build-essential libpq-dev pkg-config libc6 # Install application gems COPY --link Gemfile Gemfile.lock ./ @@ -68,4 +68,4 @@ ENTRYPOINT ["/rails/bin/docker-entrypoint"] # Start the server by default, this can be overwritten at runtime EXPOSE 3000 -CMD ["./bin/rails", "server"] +CMD ["./bin/rails", "server", "-e", "production"] diff --git a/Gemfile b/Gemfile index dbb0073..96d9034 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } -ruby "3.1.2" +ruby "3.1.4" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.4" diff --git a/Gemfile.lock b/Gemfile.lock index dc84519..1e205a6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -318,7 +318,7 @@ DEPENDENCIES webdrivers RUBY VERSION - ruby 3.1.2p20 + ruby 3.1.4p223 BUNDLED WITH 2.4.13