fix: Corepack and node software (#39)

* fix: Update base dockerfile to include py and js software

* fix: Corepack and node software
This commit is contained in:
Brace Sproul 2025-05-28 14:47:37 -07:00 • committed by GitHub
parent 1367d61181
commit 9b825de25d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,8 +15,15 @@ RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash - \
&& apt-get install -y nodejs \
&& rm -rf /var/lib/apt/lists/*
# Install yarn and pnpm globally
RUN npm install -g yarn pnpm
# Update corepack to latest version (to avoid outdated signature issues)
RUN npm install -g corepack@latest
# Enable corepack for yarn and pnpm (creates shims)
RUN corepack enable yarn pnpm
# Pre-download specific versions to avoid download on first use
RUN corepack prepare yarn@stable --activate \
&& corepack prepare pnpm@latest --activate
# Set the working directory
WORKDIR /app