updated .dockerignore to make it easier to add additional backends
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Tweaked the `.dockerignore` file so that it's easier to add additional backend packages if desired.
|
||||
|
||||
To apply this change to an existing app, make the following change to `.dockerignore`:
|
||||
|
||||
```diff
|
||||
cypress
|
||||
microsite
|
||||
node_modules
|
||||
-packages
|
||||
-!packages/backend/dist
|
||||
+packages/*/src
|
||||
+packages/*/node_modules
|
||||
plugins
|
||||
```
|
||||
+2
-2
@@ -3,6 +3,6 @@ docs
|
||||
cypress
|
||||
microsite
|
||||
node_modules
|
||||
packages
|
||||
!packages/backend/dist
|
||||
packages/*/src
|
||||
packages/*/node_modules
|
||||
plugins
|
||||
|
||||
@@ -96,8 +96,8 @@ root of the repo to speed up the build by reducing build context size:
|
||||
```text
|
||||
.git
|
||||
node_modules
|
||||
packages
|
||||
!packages/backend/dist
|
||||
packages/*/src
|
||||
packages/*/node_modules
|
||||
plugins
|
||||
```
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
.git
|
||||
node_modules
|
||||
packages
|
||||
!packages/backend/dist
|
||||
packages/*/src
|
||||
packages/*/node_modules
|
||||
plugins
|
||||
*.local.yaml
|
||||
|
||||
Reference in New Issue
Block a user