Skip to content

Commit

Permalink
test(SCRIPT): add local test script
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Nov 17, 2023
1 parent 89772f3 commit 8f8f30c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
test
certs
*.env
.cicd-tools
.github
.vale

12 changes: 12 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 8f8f30c

Please sign in to comment.