File size: 356 Bytes
4736adc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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" ]