diff options
Diffstat (limited to 'scripts/docker-entrypoint.sh')
-rw-r--r-- | scripts/docker-entrypoint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh new file mode 100644 index 00000000..ae1ab6eb --- /dev/null +++ b/scripts/docker-entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh +if [ ! -d "node_modules" ]; then apk add --no-cache --update python3 py-pip make gcc; ln -s /usr/bin/python3 /usr/bin/python; npm run setup; fi +if [ ! -d 'dist' ]; then npm run build; fi |