2023-09-08 14:30:22 +08:00
|
|
|
FROM node:16.17.1
|
|
|
|
|
2024-01-29 15:34:21 +08:00
|
|
|
LABEL beaconfire <beaconfireinc.com>
|
2023-09-08 14:30:22 +08:00
|
|
|
|
2024-02-01 18:04:20 +08:00
|
|
|
ENV PNPM_HOME="/root/.pnpm"
|
|
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
2023-09-08 14:30:22 +08:00
|
|
|
RUN apt-get update && \
|
2024-02-01 18:04:20 +08:00
|
|
|
apt-get install -y --no-install-recommends ca-certificates curl && \
|
2023-09-08 14:30:22 +08:00
|
|
|
rm -rf /var/lib/apt/lists/ && \
|
2024-01-29 15:34:21 +08:00
|
|
|
git config --global --add safe.directory '*' && \
|
2024-02-01 18:04:20 +08:00
|
|
|
npm install -g pnpm && \
|
|
|
|
pnpm config set store-dir /root/.pnpm
|