1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-19 15:28:06 +02:00
This commit is contained in:
Chang-Woo Rhee 2024-05-20 20:42:06 +02:00 committed by GitHub
commit 83817b1284
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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