fix(dockerfile): Temporarily resolve corepack issue

This commit is contained in:
Thomas Kosmas 2025-02-05 02:42:16 +02:00
parent b0f9e73376
commit 73d19aa01b

View File

@ -2,6 +2,10 @@ FROM node:20-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
LABEL fly_launch_runtime="Node.js"
#temp solution to https://github.com/nodejs/corepack/issues/612
RUN npm i -g corepack@latest
RUN corepack enable
COPY . /app
WORKDIR /app