Skip to content

Commit

Permalink
Merge pull request #65 from mauromorales/upgrade-ruby-buildpack
Browse files Browse the repository at this point in the history
Base ruby buildpack dockerimage on upstream
  • Loading branch information
jstrachan authored Jan 3, 2020
2 parents 871730f + 87254e8 commit ddea896
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packs/ruby/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:onbuild
FROM ruby:2.6.3

ENV PORT 3000
EXPOSE 3000
Expand All @@ -8,7 +8,7 @@ RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

RUN apt-get update && \
apt-get install -y nodejs mysql-client postgresql-client sqlite3 vim --no-install-recommends && \
apt-get install -y nodejs mariadb-client postgresql-client sqlite3 vim --no-install-recommends && \
rm -rf /var/lib/apt/lists/*

ENV RAILS_ENV development
Expand All @@ -26,4 +26,4 @@ COPY . /usr/src/app
# ENV RAILS_SERVE_STATIC_FILES true
# RUN bundle exec rake DATABASE_URL=postgresql:does_not_exist assets:precompile

CMD ["rails", "server", "-b", "0.0.0.0"]
CMD ["rails", "server", "-b", "0.0.0.0"]

0 comments on commit ddea896

Please sign in to comment.