Permalink
Find file Copy path
2c60670 Aug 5, 2018
1 contributor

Users who have contributed to this file

17 lines (13 sloc) 360 Bytes
FROM tongueroo/jets:base
MAINTAINER Tung Nguyen <tongueroo@gmail.com>
# Install bundle of gems first in a layer
# so if the Gemfile doesnt chagne it wont have to install gems again
WORKDIR /tmp
COPY Gemfile* /tmp/
RUN bundle install && rm -rf /root/.bundle/cache
# Add the Rails app
ENV HOME /root
WORKDIR /app
COPY . /app
RUN bundle install
CMD ["uptime"]