Fix bug in docker-entrypoint.sh

This commit is contained in:
riggraz
2019-12-18 20:50:23 +01:00
parent 144e80a052
commit 419f4b32f7

View File

@@ -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