Sha256: 875ea328a9d9a82828dd21664fc5ff5830f060dd399728b6148892a4b270f01a
Contents?: true
Size: 633 Bytes
Versions: 30
Compression:
Stored size: 633 Bytes
Contents
FROM ruby:2.3.1 # Adapted from: https://github.com/marcelocg/phoenix-docker/blob/master/Dockerfile MAINTAINER Blake Hitchcock <blhitchc@cisco.com> # update and install some software requirements RUN apt-get update && apt-get -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" upgrade -y && apt-get install -y libxml2-dev libxslt1-dev nodejs ENV APP_HOME /myapp ENV RAILS_ENV production RUN mkdir $APP_HOME WORKDIR $APP_HOME ADD test_server/Gemfile* $APP_HOME/ RUN bundle install ADD test_server/. $APP_HOME RUN rake db:create RUN rake db:migrate EXPOSE 3000 CMD ["bin/rails", "server", "--port", "3000"]
Version data entries
30 entries across 30 versions & 1 rubygems