Sha256: 6c4d605c7804e190681bdae3d63afa667227080935c60e6c61a1effd9bdaafc1
Contents?: true
Size: 800 Bytes
Versions: 4
Compression:
Stored size: 800 Bytes
Contents
# Install node modules COPY<% if options.link? %> --link<% end %> <%= sources.join(' ') %> ./ <% if sources.join.include?('.yarnrc') && !Dir['.yarn/releases/*'].empty? -%> COPY<% if options.link? %> --link<% end %> .yarn/releases/* .yarn/releases/ <% end -%> <% if using_bun? -%> RUN <% if options.cache? %>--mount=type=cache,id=bld-bun-cache,target=/root/.bun \ <% end %>bun install<% if options.lock? %> --frozen-lockfile<% end %> <% elsif sources.join.include? 'yarn' -%> RUN <% if options.cache? %>--mount=type=cache,id=bld-yarn-cache,target=/root/.yarn \ YARN_CACHE_FOLDER=/root/.yarn <% end %>yarn install<% if options.lock? %> --frozen-lockfile<% end %> <% else -%> RUN <% if options.cache? %>--mount=type=cache,id=bld-npm-cache,target=/root/.npm \ <% end %>npm install <% end -%>
Version data entries
4 entries across 4 versions & 1 rubygems