66d7dd8677
* fix(ci): run build on tags Signed-off-by: Aaron Pham <contact@aarnphm.xyz> * chore: update docker warning and not push on PR Signed-off-by: Aaron Pham <contact@aarnphm.xyz> --------- Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
12 lines
246 B
Docker
12 lines
246 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-slim
|
|
WORKDIR /usr/src/app
|
|
COPY --from=builder /usr/src/app/ /usr/src/app/
|
|
COPY . .
|
|
CMD ["npx", "quartz", "build", "--serve"]
|