mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +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" ]
|