FROM node:lts-alpine
LABEL org.opencontainers.image.source="https://github.com/dustalov/dockerfiles"
LABEL org.opencontainers.image.licenses="Unlicense"
ENV NO_UPDATE_NOTIFIER=1
RUN --mount=type=cache,target=/root/.npm \
npm install --global --quiet --no-update-notifier --no-fund cssnano postcss-cli && \
chown -R "$(id -un):$(id -gn)" "$(npm config get prefix)"
CMD ["postcss", "-u", "cssnano"]
Content type
Image
Digest
sha256:4bfcf21dd…
Size
59.1 MB
Last updated
17 days ago
docker pull dustalov/cssnano