mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 05:24:02 +00:00
fix: 👷 build Docker with Bun
This commit is contained in:
parent
6ce41c712c
commit
702ffdf61a
2
.github/workflows/bun.yaml
vendored
2
.github/workflows/bun.yaml
vendored
@ -5,7 +5,7 @@ on:
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
name: 'Format & Build' # Format, Lint, & Build
|
||||
name: 'Format & Build Frontend' # Format, Lint, & Build
|
||||
env:
|
||||
PUBLIC_API_BASE_URL: ''
|
||||
runs-on: ubuntu-latest
|
||||
|
2
.github/workflows/python.yaml
vendored
2
.github/workflows/python.yaml
vendored
@ -5,7 +5,7 @@ on:
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
name: 'Format & Build' # Format, Lint, & Build
|
||||
name: 'Format, Lint, & Build Backend'
|
||||
env:
|
||||
PUBLIC_API_BASE_URL: ''
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -1,6 +1,6 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM node:alpine as build
|
||||
FROM imbios/bun-node:alpine as build
|
||||
|
||||
ARG OLLAMA_API_BASE_URL='/ollama/api'
|
||||
RUN echo $OLLAMA_API_BASE_URL
|
||||
@ -11,10 +11,10 @@ RUN echo $PUBLIC_API_BASE_URL
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user