Public Repository

Last pushed: a year ago
Short Description
Simple UglifyJS container.
Full Description

UglifyJS

(using Alpine @ 26.19MB)

Create a helper script (~/bin/uglifyjs)

#!/bin/bash

docker run --rm -v "`pwd`":/code minty/uglifyjs $@

Then run the script for any less files:

% uglifyjs script.js > script.js
Docker Pull Command
Owner
minty

Comments (1)
arteniioleg
2 months ago

For uglifycss I do:

docker run -it --rm -v "`pwd`":/code --entrypoint='' minty/uglifyjs \
    sh -c 'npm install -g uglifycss && uglifycss styles.css --output styles.min.css'