File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 2020 php82-tokenizer \
2121 php82-xmlreader \
2222 ssmtp && \
23+ apk add --no-cache --virtual=build-dependencies \
24+ npm && \
2325 echo "*** install speedtest-cli ***" && \
2426 if [ -z ${CLI_VERSION+x} ]; then \
2527 CLI_VERSION=$(curl -Ls https://packagecloud.io/ookla/speedtest-cli/debian/dists/bookworm/main/binary-amd64/Packages \
5557 --optimize-autoloader \
5658 --no-dev \
5759 --no-cache && \
60+ npm ci && npm run build && \
5861 echo "**** setup php opcache ****" && \
5962 { \
6063 echo 'opcache.enable_cli=1' ; \
6467 echo 'upload_max_filesize = 100M' ; \
6568 echo 'variables_order = EGPCS' ; \
6669 } > /etc/php82/conf.d/php-misc.ini && \
70+ echo "**** cleanup ****" && \
71+ apk del --purge build-dependencies && \
6772 rm -rf \
6873 $HOME/.cache \
69- $HOME/.composer \
74+ $HOME/.npm \
75+ /app/www/node_modules \
7076 /tmp/*
7177
7278COPY root/ /
Original file line number Diff line number Diff line change 2020 php82-tokenizer \
2121 php82-xmlreader \
2222 ssmtp && \
23+ apk add --no-cache --virtual=build-dependencies \
24+ npm && \
2325 echo "*** install speedtest-cli ***" && \
2426 if [ -z ${CLI_VERSION+x} ]; then \
2527 CLI_VERSION=$(curl -Ls https://packagecloud.io/ookla/speedtest-cli/debian/dists/bookworm/main/binary-arm64/Packages \
5557 --optimize-autoloader \
5658 --no-dev \
5759 --no-cache && \
60+ npm ci && npm run build && \
5861 echo "**** setup php opcache ****" && \
5962 { \
6063 echo 'opcache.enable_cli=1'; \
6467 echo 'upload_max_filesize = 100M'; \
6568 echo 'variables_order = EGPCS'; \
6669 } > /etc/php82/conf.d/php-misc.ini && \
70+ echo "**** cleanup ****" && \
71+ apk del --purge build-dependencies && \
6772 rm -rf \
6873 $HOME/.cache \
69- $HOME/.composer \
74+ $HOME/.npm \
75+ /app/www/node_modules \
7076 /tmp/*
7177
7278COPY root/ /
You can’t perform that action at this time.
0 commit comments