Skip to content

Commit

Permalink
Explicitly copy the patches folder in Dockerfile
Browse files Browse the repository at this point in the history
This is needed, because we run the patching as part of the postinstall command, and thus, needed it before the full copy.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Mar 23, 2024
1 parent a01269b commit 55c5c5d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \

# Copy only package*.json, which are likely unchanged, allowing caching
COPY package.json package-lock.json /project/
COPY patches /project/patches

# Set the working dir to the project & install and compile all dependency
WORKDIR /project/
Expand Down

0 comments on commit 55c5c5d

Please sign in to comment.