2024-07-15 16:17:38 +08:00
|
|
|
FROM node:18.20.4
|
2023-08-22 17:16:36 +08:00
|
|
|
|
2024-03-12 17:25:04 +08:00
|
|
|
LABEL beaconfire <beaconfireinc.com>
|
2023-08-22 17:16:36 +08:00
|
|
|
|
2024-03-12 17:25:04 +08:00
|
|
|
ENV PNPM_HOME="/root/.pnpm"
|
|
|
|
ENV PATH="$PNPM_HOME:$PATH"
|
2023-08-22 17:16:36 +08:00
|
|
|
RUN apt-get update && \
|
2024-03-12 17:25:04 +08:00
|
|
|
apt-get install -y --no-install-recommends ca-certificates curl && \
|
2023-08-23 11:31:30 +08:00
|
|
|
rm -rf /var/lib/apt/lists/ && \
|
2024-03-12 17:25:04 +08:00
|
|
|
git config --global --add safe.directory '*' && \
|
2025-05-14 17:59:43 +08:00
|
|
|
npm install -g pnpm cross-env && \
|
2024-03-12 17:25:04 +08:00
|
|
|
pnpm config set store-dir /root/.pnpm
|
|
|
|
|