risu / docker /Dockerfile
lignedefuite's picture
Upload 3 files
4736adc verified
raw
history blame contribute delete
356 Bytes
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" ]