Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
702ffdf6
Unverified
Commit
702ffdf6
authored
Jan 03, 2024
by
ThatOneCalculator
Browse files
fix:
👷
build Docker with Bun
parent
6ce41c71
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
.github/workflows/bun.yaml
.github/workflows/bun.yaml
+1
-1
.github/workflows/python.yaml
.github/workflows/python.yaml
+1
-1
Dockerfile
Dockerfile
+3
-3
No files found.
.github/workflows/bun.yaml
View file @
702ffdf6
...
...
@@ -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
...
...
.github/workflows/python.yaml
View file @
702ffdf6
...
...
@@ -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
...
...
Dockerfile
View file @
702ffdf6
# 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment