FROM node:19.1.0-alpine3.16 ARG ROOT=/RisuAI ARG VERSION=v124.1.0 WORKDIR ${ROOT} RUN apk add --no-cache git && \ git clone --depth 1 --branch ${VERSION} https://github.com/kwaroran/RisuAI.git . && \ npm ci && \ npm run build && \ npm prune --production && \ rm -rf .git ENTRYPOINT [ "/bin/sh", "-c", "npm run runserver" ]