Skip to content

Commit ad28bc8

Browse files
committed
[Docker] Improve pwa entrypoint comments
1 parent 41ac37a commit ad28bc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker/front/docker-entrypoint-pwa.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
fixuid || :
44

5-
# Skip node_modules deletion and yarn install if SKIP_INSTALL is set to true
5+
# Skip node_modules deletion and yarn install if SKIP_YARN_INSTALL is set to true
66
# This is disabled by default as clean install are often necessary
77
# Change this in env file at your own risk with the benefit of speeding up container startup
88
if [ "$SKIP_YARN_INSTALL" != "true" ]; then
99
echo "=== STARTING NODE_MODULES DELETION AND YARN INSTALL ==="
10-
echo "SKIP_YARN_INSTALL is not set to true"
10+
echo "SKIP_YARN_INSTALL is set to false or is not defined"
1111

1212
rm -rf node_modules pwa/node_modules example-app/node_modules
1313

@@ -27,7 +27,7 @@ if [ "$SKIP_YARN_INSTALL" != "true" ]; then
2727
fi
2828
else
2929
echo "=== SKIPPING NODE_MODULES DELETION AND YARN INSTALL ==="
30-
echo "SKIP_INSTALL is set to true"
30+
echo "SKIP_YARN_INSTALL is set to true"
3131
fi
3232

3333
exec $@

0 commit comments

Comments
 (0)