mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 20:53:15 +00:00
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:
parent
1367d61181
commit
9b825de25d
1 changed files with 9 additions and 2 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue