feat: initial romm web ui architecture, bento grids, and spatial gamepad bindings

This commit is contained in:
roormonger
2026-03-23 15:31:41 -04:00
commit 9e8f148a10
40 changed files with 9935 additions and 0 deletions

27
Dockerfile Normal file
View File

@@ -0,0 +1,27 @@
# ---- Base Node ----
FROM node:20-alpine AS base
WORKDIR /app
COPY package*.json ./
# ---- Dependencies ----
FROM base AS deps
RUN npm install --legacy-peer-deps
# ---- Builder ----
FROM deps AS builder
COPY . .
RUN npm run build
# ---- Development ----
FROM deps AS dev
COPY . .
# Expose Vite's default dev port
EXPOSE 5173
CMD ["npm", "run", "dev", "--", "--host"]
# ---- Production ----
FROM nginx:alpine AS prod
# Copy the build output from Vite (usually output to /dist)
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]