Push static web pages to S3, with compression
1.8K
Docker image for push static web pages to s3, with compress images and minify HTML/JS/CSS
This image combine 3 components:
docker pull tunnm/s3_static_web
s3static <directory path> <s3 destination path>
# Configuration through environment variables (Mandatory):
AWS_ACCESS_KEY_ID=<your key>
AWS_SECRET_ACCESS_KEY=<your secret>
AWS_REGION=<your region>
# s3static standalone
AWS_ACCESS_KEY_ID=xxxxxx AWS_SECRET_ACCESS_KEY=xxxxxx AWS_REGION=ap-southeast-1 s3static $(pwd) s3://xxxxxx/
# s3static with docker
docker run -v $(pwd):/input --rm --env AWS_ACCESS_KEY_ID=xxxxxx --env AWS_SECRET_ACCESS_KEY=xxxxxx --env AWS_REGION=ap-southeast-1 tunnm/s3_static_web s3static /input s3://xxxxxx/
Content type
Image
Digest
Size
15.1 MB
Last updated
over 6 years ago
docker pull tunnm/s3_static_web