mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-19 23:38:06 +02:00
Update Ruby, Rails Version
Update ruby version to 3.1, rails version to 7.1 Signed-off-by: Chang-Woo Rhee <x1wins@changwoo.net>
This commit is contained in:
parent
e6b1d2755f
commit
38ee3b8779
1 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@ a file called `Dockerfile`. To begin with, the Dockerfile consists of:
|
|||
|
||||
```dockerfile
|
||||
# syntax=docker/dockerfile:1
|
||||
FROM ruby:2.5
|
||||
FROM ruby:3.1
|
||||
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
|
||||
WORKDIR /myapp
|
||||
COPY Gemfile /myapp/Gemfile
|
||||
|
@ -37,7 +37,7 @@ Next, open an editor and create a bootstrap `Gemfile` which just loads Rails. Th
|
|||
|
||||
```ruby
|
||||
source 'https://rubygems.org'
|
||||
gem 'rails', '~>5'
|
||||
gem 'rails', '~>7'
|
||||
```
|
||||
|
||||
Create an empty `Gemfile.lock` file to build our `Dockerfile`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue