Sha256: 0e4818aa8857c3ede0a2bc41df89bd62bf0601b97c149c4836221071c74df533

Contents?: true

Size: 343 Bytes

Versions: 34

Compression:

Stored size: 343 Bytes

Contents

ARG NODE_VERSION=<%= node_version %>

FROM <%= platform %>node:$NODE_VERSION-slim as client

WORKDIR /rails/<%= api_client_dir %>

ENV NODE_ENV=production

<%= render partial: 'npm_install', locals: {sources: api_client_files} %>

# build client application
COPY<% if options.link? %> --link<% end %> <%= api_client_dir %> .
RUN npm run build

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
dockerfile-rails-1.6.17 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.16 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.15 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.10 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.9 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.8 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.7 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.6 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.5 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.4 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.3 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.6.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.14 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.12 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.11 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.10 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.9 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.8 lib/generators/templates/_node_client.erb