Update ruby
This commit is contained in:
parent
ff42a902f7
commit
90c631a07a
5 changed files with 9 additions and 7 deletions
|
|
@ -1 +1 @@
|
|||
ruby-3.3.0
|
||||
ruby-3.3.4
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ ARG UID=1000
|
|||
ARG GID=1000
|
||||
ARG APP_PORT=3000
|
||||
ARG INSTALL_DIR=/${NAME}
|
||||
|
||||
FROM ruby:3.3 AS development
|
||||
ARG RUBY_VERSION=3.3.4
|
||||
FROM ruby:${RUBY_VERSION} AS development
|
||||
|
||||
ARG NAME
|
||||
ARG UID
|
||||
|
|
@ -69,7 +69,7 @@ COPY --from=builder /app/node_modules /app/node_modules
|
|||
|
||||
RUN RAILS_ENV=production SECRET_KEY_BASE_DUMMY=1 rails assets:precompile
|
||||
|
||||
FROM ruby:3.3.0-slim AS production
|
||||
FROM ruby:${RUBY_VERSION}-slim AS production
|
||||
|
||||
ARG NAME
|
||||
ARG UID
|
||||
|
|
|
|||
2
Gemfile
2
Gemfile
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby '3.3.0'
|
||||
ruby '3.3.4'
|
||||
|
||||
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
||||
gem 'rails', '~> 7.1.3', '>= 7.1.3.4'
|
||||
|
|
|
|||
|
|
@ -375,7 +375,7 @@ DEPENDENCIES
|
|||
web-console
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.3.0p0
|
||||
ruby 3.3.4p94
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.15
|
||||
|
|
|
|||
|
|
@ -7,7 +7,9 @@ networks:
|
|||
|
||||
services:
|
||||
app: &app
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
target: development
|
||||
volumes:
|
||||
- ./:/app:cached
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue