23 lines
484 B
Plaintext
23 lines
484 B
Plaintext
FROM host.today/ht-docker-node:alpine
|
|
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
|
|
|
|
ENV PNPM_HOME="/root/.local/share/pnpm"
|
|
|
|
# Install additional build tools for native modules
|
|
RUN apk add --no-cache \
|
|
build-base \
|
|
python3 \
|
|
linux-headers \
|
|
wget \
|
|
iputils \
|
|
bind-tools
|
|
|
|
# Prepare pnpm directory
|
|
RUN mkdir -p ${PNPM_HOME}
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
|
|
|
# Install pnpm
|
|
RUN npm install -g pnpm \
|
|
&& pnpm -v \
|
|
&& pnpm config set unsafe-perm true
|