Skip to content

Commit e273b90

Browse files
authored
Merge pull request #2640 from evolution-foundation/fix/docker-build-missing-patches-dir
fix(docker): restore the patches/ directory the builder copies
2 parents 545e0a1 + 7fde2fb commit e273b90

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

patches/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# patches/
2+
3+
`patch-package` patches for third-party dependencies. They are applied by the
4+
`postinstall` hook (`package.json`) and re-applied inside the Docker builder,
5+
which copies this directory before `npm ci` (`COPY ./patches ./patches`).
6+
7+
Keep this directory tracked even when there is no patch: removing it breaks the
8+
Docker build, since the `COPY` above cannot resolve a path that does not exist.

0 commit comments

Comments
 (0)