feat: cleanup docker setup

- Add .dockerignore
- Replace .env with .env.example
- Add migrations service
- Cleanup Dockerfile: simpler setup, simpler copy, no migrations inside the image
- Update README to match new instruction
This commit is contained in:
Nour 2024-01-23 17:43:02 +00:00
commit 1d4251c23e
No known key found for this signature in database
GPG key ID: 9744560DE7DA09AE
6 changed files with 90 additions and 46 deletions

20
.dockerignore Normal file
View file

@ -0,0 +1,20 @@
node_modules/
.env
.git/
.gitignore
.npmrc
.dockerignore
.DS_Store
npm-debug.log
logs/
tmp/
coverage/
dist/
*.md
*.tar.gz
*.zip
Dockerfile
nsecbunker.json
connection.txt
config