11 lines
234 B
Docker
11 lines
234 B
Docker
FROM node:20-slim AS builder
|
|
WORKDIR /usr/src/app
|
|
COPY package.json .
|
|
COPY package-lock.json* .
|
|
RUN npm ci
|
|
|
|
FROM node:20-alpine
|
|
WORKDIR /usr/src/app
|
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
|
COPY . .
|
|
ENTRYPOINT ["npx", "quartz"] |