From b6853227be91fc0fdfe0c2c1db2cd96c357f2a4e Mon Sep 17 00:00:00 2001 From: Lucas Silva Date: Sat, 14 Mar 2026 00:09:05 -0300 Subject: [PATCH] docker: replace node base image with oven/bun --- Dockerfile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0881148..508dd58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Node Alpine -- multi-arch (amd64 + arm64) -FROM node:24.14-alpine AS builder +FROM oven/bun:1.3.10-alpine AS builder WORKDIR /app @@ -7,12 +7,6 @@ WORKDIR /app RUN apk add --no-cache wget curl bash RUN apk add --no-cache python3 make g++ && ln -sf python3 /usr/bin/python -# 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 ./