2024-09-01 15:16:11 +03:00
|
|
|
FROM node:20-slim AS builder
|
2023-10-08 19:59:18 +03:00
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json .
|
|
|
|
COPY package-lock.json* .
|
|
|
|
RUN npm ci
|
|
|
|
|
2024-09-01 16:43:44 +03:00
|
|
|
FROM node:20-slim
|
2023-10-08 19:59:18 +03:00
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
|
|
|
COPY . .
|
2024-09-01 16:01:31 +03:00
|
|
|
CMD ["npx", "quartz"]
|