Skip to content
Permalink
6bb982f099
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
26 lines (15 sloc) 520 Bytes
FROM ruby:2.3.3
MAINTAINER "TIER API & EntReg Working Group <tier-api@internet2.edu>"
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs netcat
RUN mkdir /myapp
WORKDIR /myapp
ADD Gemfile /myapp/Gemfile
ADD Gemfile.lock /myapp/Gemfile.lock
RUN bundle install
ADD . /myapp
# Indicate the container needs bootstrapping
RUN touch /FIRSTRUN
# Copy in the container start and bootstrap script
COPY run-rails.sh /usr/local/bin
EXPOSE 3000
CMD ["/bin/bash", "/usr/local/bin/run-rails.sh"]