images/node/Containerfile

9 lines
203 B
Text
Raw Normal View History

2022-11-23 02:02:05 +00:00
FROM reg.zknt.org/zknt/alpine:3.17
2022-11-20 18:37:39 +00:00
2022-11-23 02:02:05 +00:00
ARG NODE_VERSION=18
2022-11-20 18:37:39 +00:00
RUN set -xe;\
apk update &&\
2022-11-23 02:02:05 +00:00
apk add $(apk search nodejs- | grep nodejs-${NODE_VERSION} | sed -e 's#js-#js=#') yarn &&\
2022-11-20 18:37:39 +00:00
rm /var/cache/apk/*