The darthjee/production_taa image is the production counterpart of darthjee/taa, without development dependencies. It is a parallel image built on top of darthjee/production_rails_yarn. It pre-installs a set of production Rails gems and pre-caches a set of AngularJS packages. Development and test gems are excluded from the bundle.
The image runs as the app user (uid 1000), with /home/app/app as the working directory, owned by app. The tmp/pids directory (owned by app) inside the working directory, needed to run Puma, is provided by the base image.
On top of everything provided by darthjee/production_rails_yarn (Ruby, Node.js, Yarn and the production Rails gems), this image adds the following.
Only production gems are pre-installed. Development and test groups are excluded.
azerothdarthjee-active_extjacemagickatarquinnThe following packages are pre-cached in the global yarn cache (/usr/local/share/.cache/yarn/v6/). They are not installed into any node_modules; they are used when a project's package.json asks for them and yarn install is run.
angularangular-routecyberhawkjohtoNote: The pre-cached
angularandangular-routeare version 1.8, a breaking upgrade from 1.4 (for example, the$http.success()/.error()methods were removed in 1.6); see the AngularJS migration guide before upgrading a project written against 1.4. Thejs-cookiepre-cached alongside them (shared withdarthjee/production_rails_yarn) is version 3, a major upgrade with API changes (for example,Cookies.getJSONwas removed); see the js-cookie 3 migration notes. The sharedjqueryis version 3.7, andunderscorewas bumped to a newer patch release.
Reference this image in your production Dockerfile (see the available tags at https://hub.docker.com/r/darthjee/production_taa/tags), installing only the main dependencies:
FROM darthjee/production_taa:<version>
COPY --chown=app:app Gemfile Gemfile.lock ./
RUN bundle config set without 'development test' && \
bundle install
COPY --chown=app:app package.json yarn.lock ./
RUN yarn install --production
COPY --chown=app:app . /home/app/app/
RUN bundle exec rake assets:precompile
See the LICENSE file for more information.
Content type
Image
Digest
sha256:6430e0d62…
Size
516.8 MB
Last updated
4 days ago
docker pull darthjee/production_taa