clienttarget / Dockerfile
iDevBuddy
fix: Upgrade base container to Node 22 for native WebSocket support in Supabase
7195938
raw
history blame contribute delete
316 Bytes
FROM node:22-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm install --legacy-peer-deps
COPY . .
RUN npm run build
FROM node:22-alpine
WORKDIR /app
COPY package*.json ./
RUN npm install --only=production --legacy-peer-deps
COPY --from=builder /app/dist ./dist
EXPOSE 7860
CMD ["node", "dist/index.js"]