twbs-bootstrap
SUCCESS
13m 39s
History Source
SummaryIterations1Transcript17Dockerfile
Dockerfile18 lines · 399 chars
# Multi-stage Docker build for Bootstrap repository
FROM node:22-slim AS builder
WORKDIR /app

# Install dependencies
COPY package.json package-lock.json ./
RUN npm ci

# Copy source and build
COPY . .
RUN npm run dist

# Runtime stage served by Nginx (static site)
FROM nginx:stable-alpine AS runtime
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]