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.5.7 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.6 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.5 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.4 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.3 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.5.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.4.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.4.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.4.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.3.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.2.5 lib/generators/templates/_node_client.erb
dockerfile-rails-1.2.4 lib/generators/templates/_node_client.erb