Skip to content

Commit d9cf276

Browse files
committed
Create web-library data dir before build
1 parent 5de9f6b commit d9cf276

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.web-library

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ COPY app/web-library-overlay/ /app/web-library-overlay/
1212
# Apply overlay into a build directory
1313
RUN mkdir -p /app/web-library-build \
1414
&& rsync -a /app/web-library-upstream/ /app/web-library-build/ \
15+
&& mkdir -p /app/web-library-build/data \
1516
&& if [ -d /app/web-library-overlay/src ]; then rsync -a /app/web-library-overlay/src/ /app/web-library-build/src/; fi \
16-
&& if [ -d /app/web-library-overlay/config ]; then rsync -a /app/web-library-overlay/config/ /app/web-library-build/config/; fi
17+
&& if [ -d /app/web-library-overlay/config ]; then rsync -a /app/web-library-overlay/config/ /app/web-library-build/config/; fi \
18+
&& if [ -d /app/web-library-overlay/data ]; then rsync -a /app/web-library-overlay/data/ /app/web-library-build/data/; fi
1719

1820
# Fetch upstream submodules (the subtree does not vend them)
1921
WORKDIR /app/web-library-build

0 commit comments

Comments
 (0)