Update Dockerfile to use Bun for package management, remove package-lock.json, and adjust .gitignore to include it.

This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-26 00:32:54 +02:00
parent 157a33096a
commit 4c7f479398
99 changed files with 11426 additions and 2626 deletions
+4 -4
View File
@@ -1,9 +1,9 @@
FROM node:20-alpine AS build
FROM oven/bun:1-alpine AS build
WORKDIR /app
COPY package.json package-lock.json* ./
RUN npm ci
COPY package.json bun.lock* ./
RUN bun install --frozen-lockfile
COPY . .
RUN npm run build
RUN bun run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html