mirror of
https://github.com/furyhawk/home_stack.git
synced 2026-07-21 10:16:47 +00:00
- Add database connection pooling (pool_size=20, max_overflow=10, pool_pre_ping) - Add LRU response caching for weather endpoints with configurable TTLs - Reuse httpx.AsyncClient across weather API requests - Add Docker build cache mounts for uv and npm package managers - Optimize query ordering in users and items endpoints - Apply ruff formatting fixes across backend
15 lines
236 B
Docker
15 lines
236 B
Docker
FROM node:24
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package.json package-lock.json /app/
|
|
|
|
RUN --mount=type=cache,target=/root/.npm \
|
|
npm ci --cache=/root/.npm
|
|
|
|
RUN npx -y playwright install --with-deps
|
|
|
|
COPY ./ /app/
|
|
|
|
ARG VITE_API_URL=${VITE_API_URL}
|