Files
request-bot/Dockerfile
2024-05-17 10:02:10 +03:00

13 lines
198 B
Docker

# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY . .
RUN npm ci
RUN npm run build
# Run stage
FROM node:20-alpine AS runner
COPY --from=builder /app/build .
CMD ["node", "index.js"]