quartz/Dockerfile
Struchkov Mark 2f25a1ba0a
All checks were successful
continuous-integration/drone/push Build is passing
update 4.4.0
2024-10-11 20:43:11 +03:00

24 lines
456 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
RUN apk update && apk add --no-cache \
optipng \
advancecomp \
pngcrush \
jpegoptim \
libwebp-tools \
findutils \
bash \
git \
openssh-client \
coreutils
WORKDIR /usr/src/app
COPY --from=builder /usr/src/app/ /usr/src/app/
COPY . .
#RUN chmod +x zip_image.sh
ENTRYPOINT ["npx", "quartz"]