Build Jellomator MVP
All checks were successful
docker / build-and-push (push) Successful in 49s

This commit is contained in:
Space-Banane
2026-05-20 20:36:28 +02:00
parent ce0dc0880c
commit 3991a01ec7
18 changed files with 3830 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:20-alpine AS frontend
WORKDIR /app
COPY package.json package.json
COPY vite.config.ts tsconfig.json tailwind.config.js postcss.config.cjs index.html ./
COPY frontend ./frontend
RUN npm install && npm run build:frontend
FROM python:3.12-slim
WORKDIR /app
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
COPY backend ./backend
COPY --from=frontend /app/frontend/dist ./frontend/dist
RUN pip install --no-cache-dir -r backend/requirements.txt
EXPOSE 6363
CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "6363"]