🔧 Migrate from npm to Bun (#2097)

This commit is contained in:
Alejandra
2026-01-20 22:35:30 +01:00
committed by GitHub
parent ab7c28c038
commit fb2a02345b
13 changed files with 989 additions and 6815 deletions

View File

@@ -2,10 +2,20 @@ FROM mcr.microsoft.com/playwright:v1.57.0-noble
WORKDIR /app
COPY package*.json /app/
RUN apt-get update && apt-get install -y unzip \
&& rm -rf /var/lib/apt/lists/*
RUN npm install
RUN curl -fsSL https://bun.sh/install | bash
ENV PATH="/root/.bun/bin:$PATH"
COPY ./ /app/
COPY package.json bun.lock /app/
ARG VITE_API_URL=${VITE_API_URL}
COPY frontend/package.json /app/frontend/
WORKDIR /app/frontend
RUN bun install
COPY ./frontend /app/frontend
ARG VITE_API_URL