feat: deploy infrastructure + disk/drive, calendar, presentation, workspaces, onboarding, demo user
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
FROM node:20-alpine AS frontend-builder
|
||||
WORKDIR /build
|
||||
COPY webui/package*.json ./
|
||||
RUN npm ci
|
||||
COPY webui/ .
|
||||
RUN npm run build
|
||||
|
||||
FROM python:3.12-slim
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . .
|
||||
COPY --from=frontend-builder /build/dist /app/webui/dist
|
||||
|
||||
RUN mkdir -p /app/logs
|
||||
|
||||
EXPOSE 8020
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8020"]
|
||||
Reference in New Issue
Block a user