2
0

⬆️ Upgrade pnpm, turbo, isolated-vm (#1609)

Closes https://github.com/baptisteArno/typebot.io/issues/1554
This commit is contained in:
Baptiste Arnaud
2024-07-11 16:09:49 +02:00
committed by GitHub
parent c7263a17eb
commit 5a3fd84214
18 changed files with 14488 additions and 10916 deletions

View File

@ -1,4 +1,4 @@
FROM node:18-bullseye-slim AS base
FROM node:20-bullseye-slim AS base
WORKDIR /app
ARG SCOPE
ENV SCOPE=${SCOPE}
@ -8,13 +8,13 @@ RUN apt-get -qy update \
&& apt-get autoremove -yq \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN npm --global install pnpm@8
RUN npm --global install pnpm@9.5.0
FROM base AS pruner
RUN npm --global install turbo@1.11.3
RUN npm --global install turbo@2.0.5
WORKDIR /app
COPY . .
RUN turbo prune --scope=${SCOPE} --docker
RUN turbo prune ${SCOPE} --docker
FROM base AS builder
RUN apt-get -qy update && apt-get -qy --no-install-recommends install openssl git python3 g++ build-essential