fix startup for dynamodb
This commit is contained in:
parent
8e22597f19
commit
891c818d2e
2 changed files with 2 additions and 1 deletions
dynamodb
|
@ -1,4 +1,4 @@
|
|||
FROM amazon/dynamodb-local
|
||||
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
|
||||
CMD curl --silent --output /dev/null http://localhost:8000/shell/
|
||||
CMD ["-jar", "DynamoDBLocal.jar", "-sharedDb", "-dbPath", "/tmp"]
|
||||
CMD ["-jar", "/home/dynamodblocal/DynamoDBLocal.jar", "-inMemory"]
|
||||
|
|
|
@ -2,3 +2,4 @@ version: "3.7"
|
|||
services:
|
||||
dynamodb:
|
||||
build: .
|
||||
image: ghcr.io/benzine-framework/dynamodb:local
|
||||
|
|
Loading…
Reference in a new issue