🔧 Migrate from npm to Bun (#2097)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user