Sha256: b303eb8d7cae91c2f9818fd37e3cb2d58a0591ee077ec7afed85dd766dda45b0

Contents?: true

Size: 503 Bytes

Versions: 4

Compression:

Stored size: 503 Bytes

Contents

FROM ruby:<%= config[:ruby_version] %>

RUN apt-get update -qq && apt-get install -y nodejs postgresql-client
RUN mkdir /myapp
WORKDIR /myapp
COPY Gemfile /myapp/Gemfile
COPY Gemfile.lock /myapp/Gemfile.lock

RUN gem install bundler
RUN bundle install
COPY . /myapp

# Add a script to be executed every time the container starts.
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
EXPOSE 3000

# Start the main process.
CMD ["rails", "server", "-b", "0.0.0.0"]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
roro-0.3.7 lib/roro/cli/templates/quickstart/Dockerfile.tt
roro-0.3.6 lib/roro/cli/templates/quickstart/Dockerfile.tt
roro-0.3.5 lib/roro/cli/templates/quickstart/Dockerfile.tt
roro-0.3.4 lib/roro/cli/templates/quickstart/Dockerfile.tt