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
b5598f75
Unverified
Commit
b5598f75
authored
Jan 04, 2024
by
ThatOneCalculator
Browse files
refactor:
♻
bun-based dockerfile
parent
cddfd113
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Dockerfile
Dockerfile
+5
-5
No files found.
Dockerfile
View file @
b5598f75
# syntax=docker/dockerfile:1
# syntax=docker/dockerfile:1
FROM
node:alpine
as build
FROM
oven/bun:latest
as build
WORKDIR
/app
WORKDIR
/app
COPY
package.json package-lock.json ./
COPY
package.json package-lock.json ./
RUN
npm ci
COPY
. .
COPY
. .
RUN
npm run build
RUN
bun
install
RUN
bun run build
FROM
python:3.11-slim-buster as base
FROM
python:3.11-slim-buster as base
...
@@ -32,4 +32,4 @@ RUN pip3 install -r requirements.txt
...
@@ -32,4 +32,4 @@ RUN pip3 install -r requirements.txt
COPY
./backend .
COPY
./backend .
CMD
[ "sh", "start.sh"]
CMD
[ "sh", "start.sh"]
\ No newline at end of file
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