Vue 3 + FastAPI Webapp zur Anzeige von Filebot/n8n-Medienmetadaten aus PostgreSQL. Enthält Frontend, API, Nginx-Config, SQL-Migrationen und Docker-Compose-Setup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
382 B
Docker
17 lines
382 B
Docker
FROM node:22-alpine AS frontend-build
|
|
|
|
WORKDIR /app
|
|
|
|
COPY frontend/package.json ./
|
|
RUN npm install
|
|
|
|
COPY frontend/index.html frontend/vite.config.ts frontend/tsconfig.json frontend/tsconfig.app.json ./
|
|
COPY frontend/src ./src
|
|
|
|
RUN npm run build
|
|
|
|
FROM nginx:1.27-alpine
|
|
|
|
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
|
|
COPY --from=frontend-build /app/dist /usr/share/nginx/html
|