RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache\r
RUN curl -sf https://gobinaries.com/tj/node-prune | sh\r
\r
RUN apk update && apk add curl yarn python3 build-base gcc wget git --no-cache\r
RUN curl -sf https://gobinaries.com/tj/node-prune | sh\r
\r
ENV npm_config_target_arch=x64\r
ENV npm_config_target_platform=linux\r
ENV npm_config_target_libc=musl\r
ENV npm_config_target_arch=x64\r
ENV npm_config_target_platform=linux\r
ENV npm_config_target_libc=musl\r
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"\r
\r
RUN yarn --production --prefer-offline\r
RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version.ts"\r
\r
RUN yarn --production --prefer-offline\r