Skip to content

Commit a3dc3f6

Browse files
Update Dockerfile
Co-authored-by: Borislav Kosun <[email protected]>
1 parent e8a79a7 commit a3dc3f6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,8 @@ RUN set -eux; \
9292
composer dump-autoload --classmap-authoritative --no-dev; \
9393
composer dump-env prod; \
9494
composer run-script --no-dev post-install-cmd; \
95+
if [ -f importmap.php ]; then \
96+
php bin/console asset-map:compile; \
97+
fi; \
9598
chmod +x bin/console; sync;
9699

97-
RUN if [ -f importmap.php ]; then \
98-
php bin/console asset-map:compile;\
99-
fi
100-

0 commit comments

Comments
 (0)