Docker-DynamoDB/Dockerfile
2024-05-17 11:19:40 +02:00

12 lines
586 B
Docker

# checkov:skip=CKV_DOCKER_3 We're not adding a user
# checkov:skip=CKV_DOCKER_7 We're just following latest.
FROM amazon/dynamodb-local
LABEL maintainer="Matthew Baggett <matthew@baggett.me>" \
org.label-schema.vcs-url="https://github.com/benzine-framework/docker-dynamodb" \
org.opencontainers.image.source="https://github.com/benzine-framework/docker-dynamodb"
HEALTHCHECK --interval=5s --timeout=3s --start-period=0s --retries=5 \
CMD curl --silent --output /dev/null http://localhost:8000/shell/
CMD ["-jar", "/home/dynamodblocal/DynamoDBLocal.jar", "-inMemory"]