mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 19:32:30 +01:00
17bbb62b99
Signed-off-by: Jessica Frazelle <princess@docker.com>
16 lines
309 B
Docker
16 lines
309 B
Docker
# Run imagemin in a container:
|
|
#
|
|
# docker run --rm -it \
|
|
# -v /etc/localtime:/etc/localtime:ro \
|
|
# -v $HOME/Pictures:/root/Pictures \
|
|
# --entrypoint bash \
|
|
# jess/imagemin
|
|
#
|
|
FROM node
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
RUN npm install --global imagemin
|
|
|
|
ENTRYPOINT [ "imagemin" ]
|
|
CMD [ "--help" ]
|