Skip to content

Instantly share code, notes, and snippets.

@diegobarros0701
Created August 23, 2019 12:38
Show Gist options
  • Save diegobarros0701/5cc58d1f3c3538a82753b25bceae11c6 to your computer and use it in GitHub Desktop.
Save diegobarros0701/5cc58d1f3c3538a82753b25bceae11c6 to your computer and use it in GitHub Desktop.
FROM ruby:2.5
RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
RUN mkdir /app
WORKDIR /app
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install
COPY . /app
CMD ["rails", "server", "-b", "0.0.0.0"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment