Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (11 sloc) 350 Bytes
FROM ruby:2.6.3
COPY Gemfile Gemfile.lock /app/
RUN gem install bundler
RUN bundle install
RUN apt-get update && apt-get install -y nodejs
# Let the docker cache work up to this point so it doesn't do a bundle install
# unless we change the Gemfile
COPY . /app/
EXPOSE 80 443
CMD ["bin/rails", "server", "-b", "","-p", "80"]
You can’t perform that action at this time.