mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
With the normal dockerignore it regularly happens that unwanted files end up in the image. By denying everything and then allowing the desired files we have a more verbose dockerignore, but the context is as small as possible.
21 lines
357 B
Text
21 lines
357 B
Text
# Ignore all and then selectivly allow
|
|
**/*
|
|
|
|
# api
|
|
!package.json
|
|
!package-lock.json
|
|
!nest-cli.json
|
|
!tsconfig.build.json
|
|
!tsconfig.json
|
|
|
|
!src/**/*
|
|
|
|
# frontend
|
|
!frontend/.env.production
|
|
!frontend/package.json
|
|
!frontend/package-lock.json
|
|
!frontend/postcss.config.js
|
|
!frontend/tailwind.config.js
|
|
!frontend/tsconfig.json
|
|
!frontend/src/**/*
|
|
!frontend/public/**/*
|