stacker.news/docker/s3/init-s3.sh

5 lines
218 B
Bash
Executable File

#!/bin/bash
pip3 install --upgrade virtualenv awscli awscli-local requests
awslocal s3 mb s3://uploads
awslocal s3api put-bucket-cors --bucket uploads --cors-configuration file:///etc/localstack/init/ready.d/cors.json