Sha256: 4c706799ab4c0f2df1a14ab2e1d65072b2915f4f5a1a83ddb53fe1668ac13850

Contents?: true

Size: 513 Bytes

Versions: 12

Compression:

Stored size: 513 Bytes

Contents

FROM ruby:3.1.2

RUN apt-get update

WORKDIR /app

# install ruby gems
COPY Gemfile* ./

RUN bundle config set without 'development test' && \
    bundle config set with 'staging production' && \
    bundle install --jobs=3 --retry=3

COPY . ./

ENV RAILS_ENV=production

# compiling assets requires any value for ENV of SECRET_KEY_BASE
ENV SECRET_KEY_BASE=NOT_USED_NON_BLANK

RUN rails assets:precompile

# add entrypoint
COPY .controlplane/entrypoint.sh ./
ENTRYPOINT ["/app/entrypoint.sh"]

CMD ["rails", "s"]

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
cpflow-4.1.0 lib/generator_templates/Dockerfile
cpflow-4.0.1 lib/generator_templates/Dockerfile
cpflow-4.0.0 lib/generator_templates/Dockerfile
cpflow-3.0.1 lib/generator_templates/Dockerfile
cpflow-3.0.0 lib/generator_templates/Dockerfile
cpl-2.2.4 lib/generator_templates/Dockerfile
cpl-2.2.2 lib/generator_templates/Dockerfile
cpl-2.2.1 lib/generator_templates/Dockerfile
cpl-2.2.0 lib/generator_templates/Dockerfile
cpl-1.4.0 lib/generator_templates/Dockerfile
cpl-1.3.0 lib/generator_templates/Dockerfile
cpl-1.2.0 lib/generator_templates/Dockerfile