mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +00:00
Merge pull request #383 from ThatOneCalculator/bun-dockerfile
refactor: ♻️ bun-based dockerfile
This commit is contained in:
commit
6736d4d47f
10
Dockerfile
10
Dockerfile
@ -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
|
||||
|
||||
@ -32,4 +32,4 @@ RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY ./backend .
|
||||
|
||||
CMD [ "sh", "start.sh"]
|
||||
CMD [ "sh", "start.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user