From 4e393a7bbeb29f05f0c97c4be77eb08884732694 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Wed, 7 Sep 2022 08:53:13 +0200 Subject: Start of docker refactor --- scripts/docker-entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 scripts/docker-entrypoint.sh (limited to 'scripts') 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 -- cgit 1.5.1