Skip to content

Commit

Permalink
update docker to ruby 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zfletch committed Nov 10, 2021
1 parent 34ac766 commit 29c27cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.6.0
FROM ruby:3.0.0

RUN mkdir /app
WORKDIR /app
Expand Down
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ GEM
nio4r (2.5.8)
nokogiri (1.12.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-linux)
racc (~> 1.4)
parallel (1.21.0)
parser (3.0.2.0)
ast (~> 2.4.1)
Expand Down Expand Up @@ -224,6 +226,7 @@ GEM

PLATFORMS
x86_64-darwin-19
x86_64-linux

DEPENDENCIES
bootsnap (>= 1.4.2)
Expand Down Expand Up @@ -252,4 +255,4 @@ RUBY VERSION
ruby 3.0.0p0

BUNDLED WITH
2.2.30
2.2.3
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ services:
image: postgres
ports:
- 5434:5432
environment:
POSTGRES_PASSWORD: password
web:
image: nginx
volumes:
Expand All @@ -21,6 +23,6 @@ services:
ports:
- 3000:3000
environment:
- DATABASE_URL=postgres://postgres@db
- DATABASE_URL=postgres://postgres:password@db
links:
- db

0 comments on commit 29c27cc

Please sign in to comment.