Sha256: 1420483d85349c2571915542ebfd22a852dada8e96abc48af14dfb6fe409e872

Contents?: true

Size: 304 Bytes

Versions: 36

Compression:

Stored size: 304 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 <%= api_client_dir %> .
RUN npm run build

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dockerfile-rails-1.0.5 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.4 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.3 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.0 lib/generators/templates/_node_client.erb
dockerfile-rails-0.5.2 lib/generators/templates/_node_client.erb
dockerfile-rails-0.5.1 lib/generators/templates/_node_client.erb
dockerfile-rails-0.5.0 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.9 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.8 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.7 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.6 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.5 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.4 lib/generators/templates/_node_client.erb
dockerfile-rails-0.4.3 lib/generators/templates/_node_client.erb