Sha256: 93455fecfdfdc410b8379aa564d3949042ca6d0d87f70aef1cc4eb7742073fe6

Contents?: true

Size: 962 Bytes

Versions: 3

Compression:

Stored size: 962 Bytes

Contents

FROM ruby:<%= ruby_version %>
ARG BUNDLE_BITBUCKET__ORG
ARG BUNDLE_GITHUB__COM
RUN apt-get update \
 && apt-get install -y node.js gosu sendmail \
 && rm -rf /var/lib/apt/lists/* \
 && gem install bundler \
 && mkdir /app<%if defined?(Webpacker) %> \
 && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
 && . /root/.bashrc \
 && nvm install 10.11.0 \
 && npm install -g yarn<% end %>
WORKDIR /app
COPY .build/Gemfile .build/Gemfile.lock ./
RUN bundle install --without development test --deployment
<% if defined?(Webpacker) %>
COPY .build/package.json .build/yarn.lock ./
RUN . /root/.bashrc && yarn install
<% end %>
COPY entrypoint.sh /
ADD .build/context.tar.gz .
<% if defined?(Webpacker) %>RUN . /root/.bashrc && yarn install && bundle exec rake assets:precompile<% else %>RUN bundle exec rake assets:precompile<% end %>
ENTRYPOINT ["/entrypoint.sh"]
CMD ["bundle", "exec", "unicorn", "-c", "/app/config/unicorn.rb"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
orchestration-0.3.2 lib/orchestration/templates/Dockerfile.erb
orchestration-0.3.1 lib/orchestration/templates/Dockerfile.erb
orchestration-0.3.0 lib/orchestration/templates/Dockerfile.erb