diff --git a/Dockerfile b/Dockerfile index 1184d9a87..07c078921 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.13-alpine3.22 #Install all dependencies. -RUN apk add --no-cache postgresql-libs postgresql-client gettext zlib libjpeg libwebp libxml2-dev libxslt-dev openldap git libgcc libstdc++ nginx tini envsubst node +RUN apk add --no-cache postgresql-libs postgresql-client gettext zlib libjpeg libwebp libxml2-dev libxslt-dev openldap git libgcc libstdc++ nginx tini envsubst nodejs npm #Print all logs without buffering it. ENV PYTHONUNBUFFERED=1 \ diff --git a/boot.sh b/boot.sh index bced70dd5..51fb7d10d 100755 --- a/boot.sh +++ b/boot.sh @@ -89,6 +89,7 @@ python manage.py migrate if [ "${PLUGINS_BUILD}" -eq 1 ]; then echo "Running yarn build at startup because PLUGINS_BUILD is enabled" cd vue3 + npm install --global yarn yarn build cd .. fi