From 0d3b9f11ab5d966d86f393f61146ec16feb0d783 Mon Sep 17 00:00:00 2001 From: PinkFloyd1213 <31860086+PinkFloyd1213@users.noreply.github.com> Date: Fri, 20 Feb 2026 16:04:38 +0100 Subject: [PATCH] Update Dockerfile to install Bun and dependencies Added system dependencies for Bun and updated installation steps. --- Dockerfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 16b7d76..773d81b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,19 +3,24 @@ FROM node:lts-alpine WORKDIR /app -# wget is needed for Docker healthcheck -RUN apk add --no-cache wget +# Install system dependencies required for Bun and Neutralino +RUN apk add --no-cache wget curl bash + +# Install Bun +RUN curl -fsSL https://bun.sh/install | bash +# Add Bun to PATH so it can be used in subsequent steps +ENV PATH="/root/.bun/bin:${PATH}" # Copy package files first for caching COPY package.json package-lock.json ./ -# Install dependencies +# Install dependencies (Node) RUN npm install # Copy the rest of the project COPY . . -# Build the project +# Build the project (Bun is now available for "bun x neu build") RUN npm run build # Expose Vite preview port