mirror of
https://github.com/open-webui/open-webui.git
synced 2025-06-29 10:18:59 +02:00
refactor: ♻️ bun-based dockerfile
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:alpine as build
|
||||
FROM oven/bun:latest as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
RUN bun install
|
||||
RUN bun run build
|
||||
|
||||
FROM python:3.11-slim-buster as base
|
||||
|
||||
|
Reference in New Issue
Block a user