fix: TS errors + Docker Compose running locally

- Removed unused imports (PublicRoute, GripVertical, addFromRecipe, X, ShoppingGroup)
- Fixed HouseholdCard unused var
- Fixed ShoppingPage household query (missing queryFn)
- Killed tmux sessions, app runs fully on Docker now
- 3 containers: db (postgres:17), backend (node:22), frontend (nginx)
This commit is contained in:
clawd
2026-02-18 17:31:31 +00:00
parent 301e42b1dc
commit cc8e2482e9
8 changed files with 23 additions and 23 deletions

View File

@@ -1,18 +1,12 @@
FROM node:22-alpine AS base
FROM node:22-alpine
WORKDIR /app
# Install dependencies
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
RUN npm ci
# Copy source
COPY src/ src/
COPY .env* ./
COPY tsconfig.json ./
# Install tsx for running TypeScript
RUN npm install -g tsx
EXPOSE 6001
CMD ["tsx", "src/index.ts"]
CMD ["npx", "tsx", "src/index.ts"]