9 lines
458 B
Docker
9 lines
458 B
Docker
FROM local/webpack-builder AS webpack-runner
|
|
COPY --chown=docker:docker --from=local/cache-helper-collect-webpack /tmp/dst ${APP_HOME}
|
|
|
|
ARG JS_BUILD_NO_UGLIFY=0
|
|
RUN COMPILE_ASSETS_API_DOCS=0 COMPILE_ASSETS_NPM_INSTALL=0 COMPILE_ASSETS_STYLEGUIDE=0 JS_BUILD_NO_UGLIFY="$JS_BUILD_NO_UGLIFY" bundle exec rails canvas:compile_assets
|
|
|
|
FROM local/ruby-runner AS webpack-cache
|
|
COPY --chown=docker:docker --from=webpack-runner /usr/src/app/public ${APP_HOME}/public
|