mirror of
https://github.com/open-webui/open-webui
synced 2024-11-29 07:21:01 +00:00
16 lines
190 B
Docker
16 lines
190 B
Docker
|
# syntax=docker/dockerfile:1
|
||
|
|
||
|
FROM node:latest
|
||
|
|
||
|
WORKDIR /app
|
||
|
ENV ENV prod
|
||
|
|
||
|
COPY package.json package-lock.json ./
|
||
|
RUN npm ci
|
||
|
|
||
|
|
||
|
COPY . .
|
||
|
RUN npm run build
|
||
|
|
||
|
CMD [ "node", "./build/index.js"]
|