diff --git a/.dockerignore b/.dockerignore index 9daeafb..a608013 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,6 @@ -test +certs +*.env +.cicd-tools +.github +.vale + diff --git a/test.sh b/test.sh new file mode 100755 index 0000000..ddd8d4c --- /dev/null +++ b/test.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -e + +docker build --no-cache --build-arg=PROVIDER=aws -t test . + +docker run \ + -v "$(pwd)"/certs:/etc/letsencrypt \ + -v "$(pwd)"/aws.env:/mnt/aws.env \ + -e ENV_FILE=/mnt/aws.env \ + -p 587:587 \ + test