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 8a46e93 commit a313d42
Show file tree
Hide file tree
Showing 2 changed files with 16 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

10 changes: 10 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

docker build --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 a313d42

Please sign in to comment.