Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
.DS_Store
npm-debug.log
my-dynamodb-data/shared-local-instance.db
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ build:
docker-compose build client
docker-compose up --no-deps -d client

rebuild:
docker-compose build --no-cache dynamodb-local
docker-compose build --no-cache dynamodb-tables
docker-compose build --no-cache client
docker-compose build --no-cache test
docker-compose build --no-cache redis

test:
docker-compose build client
docker-compose build test
Expand Down
25 changes: 0 additions & 25 deletions deps/dynamodb-local/Dockerfile

This file was deleted.

8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,15 @@ services:
dynamodb-local:
networks:
- chat
build: ./deps/dynamodb-local
image: amazon/dynamodb-local
container_name: dynamodb-local
hostname: dynamodb-local
restart: always
volumes:
- ./my-dynamodb-data:/home/dynamodblocal/data
ports:
- 8000:8000
command: "-jar DynamoDBLocal.jar -sharedDb -dbPath /home/dynamodblocal/data/"

# Ephemeral container used for creating the tables in DynamoDB
dynamodb-tables:
Expand Down