jsor-jcarousel
SUCCESS
6m 41s
History Source
SummaryIterations1Transcript7Dockerfile
Dockerfile21 lines · 360 chars
FROM node:18-bullseye-slim AS builder

WORKDIR /work

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

# Copy source and build
COPY . .
RUN ./node_modules/.bin/grunt dist


FROM node:18-bullseye-slim AS runtime

WORKDIR /work

COPY --from=builder /work/dist ./dist

CMD ["sh", "-lc", "echo 'jCarousel dist ready' && ls -la dist"]