quartz/Dockerfile
Struchkov Mark b748adc8a9
Some checks are pending
continuous-integration/drone/push Build is pending
continuous-integration/drone/tag Build is passing
fixed Dockerfile
2024-09-01 16:01:31 +03:00

11 lines
227 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 . .
CMD ["npx", "quartz"]