mirror of
https://github.com/open-webui/open-webui
synced 2024-11-06 08:56:39 +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"]
|