mirror of
https://github.com/open-webui/terminals.git
synced 2026-11-22 21:50:42 -05:00
refac
This commit is contained in:
1 parent
d6d33caf3f
commit
7d6fc32cb0
2 files changed
+23
No files matched your search
@@ -0,0 +1,11 @@
|
||||
.git
|
||||
.venv
|
||||
__pycache__
|
||||
*.pyc
|
||||
.pytest_cache
|
||||
.ruff_cache
|
||||
.mypy_cache
|
||||
|
||||
terminals/frontend/node_modules
|
||||
terminals/frontend/.svelte-kit
|
||||
terminals/frontend/build
|
||||
+12
@@ -1,3 +1,14 @@
|
||||
FROM node:22-slim AS frontend
|
||||
|
||||
WORKDIR /frontend
|
||||
|
||||
COPY terminals/frontend/package.json terminals/frontend/package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY terminals/frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
@@ -5,6 +16,7 @@ ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
COPY --from=frontend /frontend/build /app/terminals/frontend/build
|
||||
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
|
||||
Reference in new issue
Block a user