Merge pull request #219 from PinkFloyd1213/main

feat: update Dockerfile to include Bun and system dependencies
This commit is contained in:
Samidy 2026-02-20 18:25:41 +03:00 committed by GitHub
commit b0b1ee0360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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