Sign inSign up

dustalov/cssnano

By dustalov

Updated 17 days ago

cssnano

Image
0

2.2K

dustalov/cssnano repository overview

Dockerfile.cssnano

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"]

Tag summary

Content type

Image

Digest

sha256:4bfcf21dd

Size

59.1 MB

Last updated

17 days ago

docker pull dustalov/cssnano