Sha256: 89513b32b646f21e864b2f083c64a9e4d56a370fc57499ec47ce9fccdb9ba216
Contents?: true
Size: 487 Bytes
Versions: 18
Compression:
Stored size: 487 Bytes
Contents
# syntax=docker/dockerfile:1 FROM ruby:2.5 RUN apt-get update -qq && apt-get install -y nodejs postgresql-client WORKDIR /myapp COPY Gemfile /myapp/Gemfile COPY Gemfile.lock /myapp/Gemfile.lock RUN bundle install # 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 # Configure the main process to run when running the image CMD ["rails", "server", "-b", "0.0.0.0"]
Version data entries
18 entries across 7 versions & 1 rubygems