ht-docker-node/Dockerfile_alpine

11 lines
422 B
Plaintext
Raw Normal View History

2023-04-02 11:22:11 +00:00
FROM node:18.15.0-alpine
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
2022-10-11 08:42:42 +00:00
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
2023-04-02 10:56:23 +00:00
RUN apk add --no-cache curl iputils bind-tools bash && mkdir -p ${PNPM_HOME}
2022-10-11 08:42:42 +00:00
ENV PATH="$PNPM_HOME:$PATH"
2022-10-11 08:06:18 +00:00
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
2022-10-11 08:42:42 +00:00
RUN pnpm -v
2021-05-05 13:48:18 +00:00
2019-09-19 17:34:27 +00:00
ENV NODE_OPTIONS="--max_old_space_size=1000"