mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Fix bug in docker-entrypoint.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This file serves 3 use cases:
|
||||
# 1: if the env variable UPDATE is 1, db is prepared and assets compiled by webpack
|
||||
# 1: if the env variable UPDATE is 1, db is prepared
|
||||
# 2: if a command was supplied, it is executed
|
||||
# 3: otherwise, check env variable ENVIRONMENT and launch server
|
||||
|
||||
@@ -30,11 +30,6 @@ if [ "$UPDATE" = 1 ]; then
|
||||
fi
|
||||
echo "Database prepared."
|
||||
|
||||
# Use webpack to build JS and CSS.
|
||||
echo "Compiling JS and CSS with webpack..."
|
||||
$APP_ROOT/bin/webpack
|
||||
echo "Webpack compilation completed."
|
||||
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user