Skip to content

Commit 32a6043

Browse files
authored
Docker: upgrade Ruby version (#596)
Not sure, but I believe this will fix issues with HTTPS. I also removed the deprecated `--deployment` flag when running `bundle install`.
1 parent d998cc9 commit 32a6043

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.3.3
1+
FROM ruby:2.7.5
22

33
ENV RACK_ENV=production
44
ENV PORT=8080
@@ -7,7 +7,7 @@ EXPOSE 8080
77

88
WORKDIR /app
99
ADD Gemfile Gemfile.lock /app/
10-
RUN bundle install --deployment
10+
RUN bundle install
1111

1212
RUN apt-get update \
1313
&& apt-get install -y --no-install-recommends \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ But it does have keyboard shortcuts and was made with love!
1616

1717
## Installation
1818

19-
Stringer is a Ruby (2.3.0+) app based on Sinatra, ActiveRecord, PostgreSQL, Backbone.js and DelayedJob.
19+
Stringer is a Ruby app based on Sinatra, ActiveRecord, PostgreSQL, Backbone.js and DelayedJob.
2020

2121
[![Deploy to Heroku](https://cdn.herokuapp.com/deploy/button.svg)](https://heroku.com/deploy)
2222

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
- POSTGRES_DB=stringer
1212

1313
web:
14-
image: mdswanson/stringer
14+
image: mockdeep/stringer
1515
depends_on:
1616
- postgres
1717
restart: always

0 commit comments

Comments
 (0)