-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Example usage: $ docker run -d -p 8000:443 -e DYNAMODB_PORT=443 cnadiminti/dynamodb-local Use Case: When putting this container together with lambda for testing you want dynamodb to be available at 443 instead of 8000.
- Loading branch information
Martin Schulze
authored and
Martin Schulze
committed
Mar 11, 2018
1 parent
95a1ec0
commit 47934a1
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
exec java -Djava.library.path=. ${JAVA_OPTS} -jar DynamoDBLocal.jar "$@" | ||
exec java -Djava.library.path=. ${JAVA_OPTS} -jar DynamoDBLocal.jar -port ${DYNAMODB_PORT} "$@" |