clienttarget-python / Dockerfile.node
iDevBuddy
feat: Add Slack Events integration, Dockerfiles, and Hugging Face deployment config
5f138d4
raw
history blame
355 Bytes
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci --only=production
COPY --from=builder /app/dist ./dist
# If we need the .env in production, it will be loaded from env_file in docker-compose
EXPOSE 3000
CMD ["node", "dist/index.js"]