chore(docker): invert `.dockerignore` to make it simpler

This commit is contained in:
Isaac 2023-06-11 23:55:12 +01:00
parent ed0457a0e9
commit b38e1625d9
No known key found for this signature in database
GPG Key ID: 0DE40AE37BBA5C33
1 changed files with 11 additions and 20 deletions

View File

@ -1,20 +1,11 @@
# only db, scripts, src, and user directories are needed
.git
.github
.husky
.vscode
logs
node_modules
# prisma will generated by postinstall script
prisma
.all-contributorsrc
.commitlintrc.js
.dockerignore
.env
.eslintrc.json
.gitattributes
.gitignore
CONTRIBUTORS.md
Dockerfile
jsconfig.json
README.md
# ignore everything
*
# except these directories
!db
!scripts
!src
!user
# and these files
!.npmrc
!package.json
!pnpm-lock.yaml