updated .dockerignore to make it easier to add additional backends

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-05-03 11:32:56 +02:00
parent dccb85171a
commit 7cda923c16
4 changed files with 24 additions and 6 deletions
+18
View File
@@ -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
View File
@@ -3,6 +3,6 @@ docs
cypress
microsite
node_modules
packages
!packages/backend/dist
packages/*/src
packages/*/node_modules
plugins
+2 -2
View File
@@ -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