9 lines
322 B
Docker
9 lines
322 B
Docker
FROM local/ruby-runner
|
|
|
|
RUN --mount=type=bind,from=local/cache-helper,source=/tmp/dst,target=/cache-helper \
|
|
tar --no-same-owner -xf /cache-helper/yarn-runner.tar -C ${APP_HOME}
|
|
|
|
RUN set -eux; \
|
|
(DISABLE_POSTINSTALL=1 yarn install || DISABLE_POSTINSTALL=1 yarn install --network-concurrency 1) \
|
|
&& yarn cache clean
|