From dc1425d041517b7b3173a889b937418320ef82f8 Mon Sep 17 00:00:00 2001 From: Eduard Prigoana Date: Fri, 20 Feb 2026 17:35:19 +0200 Subject: [PATCH] Update Dockerfile to use bun, please remove bun install step if youre gonna use npm to build and run --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 773d81b..9b1b487 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,16 +15,16 @@ ENV PATH="/root/.bun/bin:${PATH}" COPY package.json package-lock.json ./ # Install dependencies (Node) -RUN npm install +RUN bun install # Copy the rest of the project COPY . . # Build the project (Bun is now available for "bun x neu build") -RUN npm run build +RUN bun run build # Expose Vite preview port EXPOSE 4173 # Run the built project -CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0"] +CMD ["bun", "run", "preview", "--", "--host", "0.0.0.0"]