5d23b1e6c8
- Docker Compose mit 5 Containern (api, worker, ui, postgres, redis) - Basis-Dockerfiles für FastAPI, Celery, React/Vite, PostgreSQL, Redis - udev-Regel + Python-Daemon für Disc-Einwurf-Erkennung - Device-Resolver (UUID/Serial → /dev/disc/<uuid>) - Celery-Worker mit Dummy-Job-Task (Disc-Erkennung) - .env.example mit Umgebungsvariablen - .gitignore für Docker, .env, node_modules - README, SAVEPOINT, ROADMAP aktualisiert
15 lines
250 B
Docker
15 lines
250 B
Docker
FROM node:22-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apk add --no-cache curl
|
|
|
|
COPY package.json package-lock.json* ./
|
|
RUN npm ci --only=production 2>/dev/null || npm install --only=production
|
|
|
|
COPY . .
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["vite", "--host", "0.0.0.0", "--port", "80"]
|