ht-docker-node/Dockerfile_alpine
2023-04-02 13:22:11 +02:00

11 lines
422 B
Plaintext

FROM node:18.15.0-alpine
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
RUN apk add --no-cache curl iputils bind-tools bash && mkdir -p ${PNPM_HOME}
ENV PATH="$PNPM_HOME:$PATH"
RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
RUN pnpm -v
ENV NODE_OPTIONS="--max_old_space_size=1000"