Skip to content

Commit bdfc8d3

Browse files
Add conditional importmap installation in Dockerfile
1 parent 8df782d commit bdfc8d3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@ RUN set -eux; \
9393
composer dump-env prod; \
9494
composer run-script --no-dev post-install-cmd; \
9595
chmod +x bin/console; sync;
96+
97+
RUN if [ -f importmap.php ]; then \
98+
php bin/console importmap:install;\
99+
php bin/console asset-map:compile;\
100+
fi
101+

0 commit comments

Comments
 (0)