From 9612aa446fc76cf50fce261353261b873ce9f88a Mon Sep 17 00:00:00 2001 From: danielvici123 Date: Sun, 7 Dec 2025 01:13:40 +0100 Subject: [PATCH] switch to bun alpine image in dockerfile --- Dockerfile | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 91a08fa..08ca89a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,7 @@ -# ---------- Build-Stage ---------- -FROM node:22-alpine AS builder +# ---------- Build-Stage mit Bun ---------- +FROM oven/bun:alpine AS builder WORKDIR /app -RUN apk add --no-cache curl \ - && curl -fsSL https://bun.sh/install | bash \ - && ln -s /root/.bun/bin/bun /usr/local/bin/bun - COPY package*.json ./ RUN bun install @@ -18,7 +14,6 @@ FROM node:22-alpine WORKDIR /app RUN npm install -g serve@14 - COPY --from=builder /app/dist/tools-website ./dist/tools-website EXPOSE 3000