ht-docker-node/Dockerfile_alpinenpmci

10 lines
417 B
Plaintext
Raw Permalink Normal View History

2022-10-17 11:08:06 +00:00
FROM hosttoday/ht-docker-node:alpine
2022-10-20 11:48:44 +00:00
RUN apk update && apk add bash libc6-compat alpine-sdk
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
2022-10-18 22:31:43 +00:00
RUN apk add --update alpine-sdk && \
apk add libffi-dev openssl-dev && \
2022-10-18 22:38:05 +00:00
apk add python3-dev && \
2022-10-18 22:31:43 +00:00
pnpm install -g @shipzone/npmci node-gyp