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.2.3 lib/generators/templates/_node_client.erb
dockerfile-rails-1.2.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.2.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.2.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.1.2 lib/generators/templates/_node_client.erb
dockerfile-rails-1.1.1 lib/generators/templates/_node_client.erb
dockerfile-rails-1.1.0 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.18 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.17 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.16 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.15 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.14 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.13 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.12 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.11 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.10 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.9 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.8 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.7 lib/generators/templates/_node_client.erb
dockerfile-rails-1.0.6 lib/generators/templates/_node_client.erb