Skip to content

Commit 48769eb

Browse files
committed
refactor: create target directory
1 parent e12262a commit 48769eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

frontend/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ RUN apt-get update && apt-get install -y make wget \
1818
lsb-release xdg-utils nano vim procps moreutils ripgrep \
1919
&& rm -rf /var/lib/apt/lists/*
2020

21+
# Create necessary directory structure before running npm ci, which runs `make retrieve-descendants`
22+
# as preinstall script
23+
RUN mkdir -p src/components/common/Filter/descendant_mappings
24+
2125
COPY Makefile ./
2226
COPY package*.json ./
2327
RUN npm ci --verbose --no-optional && npm cache clean --force

0 commit comments

Comments
 (0)