Example Dockerfile:
FROM terion/ruby_bower
RUN mkdir /myapp
ADD . /myapp
WORKDIR /myapp
RUN chown -R u_web .
RUN su u_web && bundle install && bower install --allow-root
CMD su u_web && cd /myapp && rm -f ./tmp/pids/server.pid && bundle exec rails s -p 80 -b '0.0.0.0'
Content type
Image
Digest
sha256:c7301f4c9…
Size
338.2 MB
Last updated
about 11 years ago
docker pull terion/ruby_bower